Daily Accessibility ReviewIcon-only button has no accessible name in SortableTable column options #17860
Replies: 1 comment
|
This discussion was automatically closed because it expired on 2026-06-04T08:37:39.842Z.
|
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Accessibility Issue: Icon-Only Button Missing Accessible Name in SortableTable
Description
In
shell/components/SortableTable/THead.vue, the table column options toggle button contains only an icon element (<i class="icon icon-actions" />). It has noaria-label,title, or visible text to provide an accessible name. Screen reader users will hear this announced as an unlabeled or generic button, with no indication of its purpose.Additionally, the
aria-expandedattribute is hardcoded to"false"rather than being dynamically bound to the actual open/closed state, meaning screen readers will always report the menu as collapsed even when it is open.WCAG 2.2 Violations
aria-expanded="false"means the state of the control is not accurately exposed to assistive technology.Code Snippet
File:
shell/components/SortableTable/THead.vue(lines 308–316)Suggested Fix
Add an
aria-labeland dynamically bindaria-expandedto the component's reactive state:Add the corresponding i18n key
sortableTable.tableHeader.columnOptions(e.g. "Column options") to the locale files undershell/assets/translations/.All reactions