ARIA Attributes
ARIA-labels can guide the way,
But use them right, don’t go astray.
Be clear, concise, don’t overwrite,
Real context keeps the flow just right.
Status
July 17, 2025: This is a new feature. Set-up for testing: in progress.
Recommendations
Yes, further down the page.
Test elements
Separator (horizontal ruler)
Set to aria-hidden. Works correctly.
Buttons
Testing in progress.
WP Core button
Greyd Buttons
Navigation
Test if menu name is being overwritten by aria-label
Announce checkmark meaning
included in single
Content box
Content of the content box
Recommendations
I would not make all labels available to everyone. Below I categorized them:
For Content Creators and Editors
| Attribute | Purpose |
|---|---|
aria-label | Adds an invisible label for screen readers |
aria-labelledby | Uses visible text elsewhere as a label |
aria-describedby | Adds extra info or context for screen readers |
aria-hidden | Hides decorative elements from screen readers |
For developers
| Attribute | Purpose |
|---|---|
aria-disabled | Marks something as visually present but functionally disabled |
aria-readonly | Marks content as uneditable but still visible |
aria-required | Marks form fields as required |
aria-expanded | Indicates whether a widget (like a menu or accordion) is open or closed |
aria-checked | Indicates checked state of checkboxes or radio buttons |
aria-selected | Indicates which item in a group is selected |
aria-pressed | Indicates toggle button state (pressed/unpressed) |
aria-valuemin | Minimum value for a slider/spinner |
aria-valuemax | Maximum value for a slider/spinner |
aria-valuenow | Current value for a slider/spinner |
aria-valuetext | Human-readable version of a value (e.g., “Low”, “High”) |
aria-controls | Identifies the element controlled by this one (e.g., a button opens a menu) |
aria-activedescendant | Helps manage focus within a composite widget (like a listbox) |
aria-owns | Reorders relationships in the accessibility tree |
aria-flowto | Suggests a reading/navigation order beyond DOM order |
aria-posinset | Indicates the position of an item in a set (e.g., 2 of 5) |
aria-setsize | Total number of items in a set |
aria-haspopup | Indicates the presence of a popup (menu, dialog, etc.) |
aria-busy | Marks content as loading/updating |
aria-live | Announces content updates in real time (e.g. chat messages, status) |
aria-atomic | Ensures whole region is announced, not just the changed part |
aria-relevant | Defines what types of changes should be announced in a live region |
aria-multiselectable | Indicates if multiple items in a listbox/table can be selected |
aria-multiline | Indicates a text field accepts multiple lines |