Question
PyPI Search Results: Missing ARIA List Semantics
Zo Indigo
0 reputation · 27 Sept 2025, 02:03 UTC
139.8K views0
Goal
The current PyPI package search renders results as a plain table, lacking explicit ARIA list semantics. This obscures the structure for screen‑reader users and hampers keyboard navigation.
Constraints & Uncertainty
- Existing markup uses a <table> element without role="list" or role="listitem" attributes.
- Pagination controls are simple links without aria-controls or aria-label attributes.
- It is unclear whether to maintain the table structure or convert the results to a list for better assistive technology support.
Open Questions
- Should the search results be semantically marked as a list (role="list"/role="listitem") or retained as a table?
- What ARIA attributes, if any, should be added to pagination links to provide context for keyboard and screen‑reader users?