Accessibility and Semantic Concerns in Aegis Navigation Markup
Opened this issue · 0 comments
alexdeborba commented
Describe the bug
The Aegis theme's navigation markup, as provided, raises several areas of concern regarding accessibility and semantics:
1. Semantic Markup and Labelling:
- All navigation structures should ideally be wrapped in a properly labeled
nav
element. In the provided markup for the Aegis theme, the navigation is represented usingwp:query-pagination
components. It is essential to ensure that the rendered output of these components has the recommended semantic structure and labeling.
2. Navigation Link Context:
- The navigation links, as represented by
wp:query-pagination-previous
andwp:query-pagination-next
, display default labels. It is crucial to ensure that these labels provide sufficient context, especially for screen reader users. Using generic labels likePrevious
andNext
might not offer adequate context out of their surrounding content.
3. Pagination Display:
- The
wp:query-pagination-numbers
component seems to handle the display of specific pagination links. It is essential to confirm that this component renders clear and accessible pagination links for users.
Step-by-step Reproduction Instructions:
- Navigate to a post in the Aegis theme.
- Inspect the posts navigation links markup and their rendered output.
- Examine the comments pagination links markup on a post with multiple comments.
- Review the paginated post links markup and their rendered output.
Expected Behavior:
The Aegis theme should utilize semantic and accessible markup for all navigation elements, ensuring clear context and enhanced user experience.
Screenshots: