I help administer several Omeka Classic sites, and they are being dinged in accessibility audits because the markup of the pagination form generated by pagination_links() in several page templates includes hidden fields with IDs (
#collection, #sort_field, #sort_dir). Since the pagination form is both at the top and at the bottom of the browse pages, this results in multiple elements on the page having the same ID values.
So a couple questions:
- Do you know if this is actually an accessibility problem?
- If it is a problem, is it possible to alter the markup of the pagination form so that the elements do not have identical IDs (whilst still preserving the functionality of of the pagination links, obviously).
I know I could simply remove either the top or bottom instance of the pagination links in the theme templates, and maybe that’s the best way forward. But I think having them in both locations is useful.