Aria-Label: change `{title} expand` to `expand {title}`
See original GitHub issueSummary
change order of words in aria label
Basic example
aria-label={
isExpanded
? i18n._(t`collapse ${item.title}`)
: i18n._(t`expand ${item.title}`)
Motivation
when there are long titles then i guess it is better when the important part comes first when the voicereader say the label.
Issue Analytics
- State:
- Created 3 years ago
- Comments:11 (11 by maintainers)
Top Results From Across the Web
How to change the aria-label on Expand and Collapse Details ...
I have solved it now (not nice, but rare). I assume that all rows are collapsed when initializing. I add aria-expanded = "false"...
Read more >Using the WAI-ARIA aria-expanded state to mark expandable ...
Content using WAI-ARIA that contains expandable and collapsible regions. This technique relates to. ensure-compat-rsv: 4.1.2 Name, Role, Value (sufficient) ...
Read more >aria-expanded - Accessibility - MDN Web Docs - Mozilla
The aria-expanded attribute is set on an element to indicate if a control is ... name of the controlling object should reflect this...
Read more >Replace all title= attributes with aria-label= (D8) - Drupal
Proposed resolution Change all "title" attributes to "aria-label". Remaining tasks Make the changes. ... Download & Extend.
Read more >ARIA labels and relationships - web.dev
aria-label allows us to specify a string to be used as the ... Importantly, aria-labelledby overrides all other name sources for an element....
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Madalyn - what a great and thorough insight/explanation! I’ll make the changes you suggested to this pr and open a new one for the item.table issue with aria-label. Best, -Dave
On Tue, May 12, 2020, 2:39 PM Madalyn notifications@github.com wrote:
I’d like to work on this if @muescha is not already working on it! I haven’t contributed to Gatsby yet so please let me know if there is a particular protocol to follow for checking out issues.