Skip to content

feat: remove nav element from pagination / explicitly add navigation …#49

Closed
Yannicvanveen wants to merge 1 commit intomainfrom
feat/undo-facetwp-pagination-html-nav
Closed

feat: remove nav element from pagination / explicitly add navigation …#49
Yannicvanveen wants to merge 1 commit intomainfrom
feat/undo-facetwp-pagination-html-nav

Conversation

@Yannicvanveen
Copy link

FacetWP voegt zelf met jQuery al een navigation role toe aan .facetwp-pager, daardoor zijn er twee elementen met een navigation role. Ik heb de role hier ook expliciet toegevoegd.

Copy link
Contributor

@YvetteNikolov YvetteNikolov left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

https://rocketvalidator.com/html-validation/bad-value-navigation-for-attribute-role-on-element-ul#:~:text=The%20role%20attribute%20value%20navigation,assistive%20tools%20like%20screen%20readers.

Nope, role="navigation" op een ul is problematisch.

Dit kunnen we voor nu -helaas- het beste oplossen in de Brave Frontend Kit JavaScript. Op elke FacetWP reload moeten we de role="navigation" van de ul afhalen.

Éigenlijk moeten we onze eigen FacetWP A11y improvements gaan schrijven, want hun improvements zijn slecht én ontoereikend. Hierarchische checkboxes werken bijv. niet.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants