inveniosoftware / react-searchkit

React component library for interacting with a REST API.
https://inveniosoftware.github.io/react-searchkit/
MIT License
78 stars 40 forks source link

Search page facet bar(s): element IDs are duplicated #232

Open lhenze opened 2 years ago

lhenze commented 2 years ago

Currently there are many (54) duplicate IDs on a search page. These each count as an error with the automated A11y tools. (https://127.0.0.1:5000/search?q=&l=list&p=1&s=10&sort=newest)

I think it is because the facet panel is duplicated... one for narrow screens, one for full-width.

Apparently even though one of the panels is always hidden, it still gets included in the scan.

Conversation about it here: https://github.com/dequelabs/axe-core/issues/3363

jennur commented 10 months ago

Related: https://github.com/inveniosoftware/invenio-app-rdm/issues/2352