Skip to content

Conversation

ellinge
Copy link
Collaborator

@ellinge ellinge commented Jul 5, 2019

What does it do?

We had some, hard to interpret, feedback about aria/labels from a third party checking accessibility.
So, I installed NVDA to check more exactly how a screen reader interprets all the aria-attributes the component outputs. Anyway, I noticed that the aria-label="Remove" was not spoken. I tried with Firefox and Chrome (and ChromeVox with Chrome).

Also, the selections are not read when focusing on the whole dropdown/trigger, so added them as additional labelled by references. It then reads the label + the tags selected when focusing on the dropdown. It’s how the example on W3 works as well. It reads ~ “Choose an element Neptunium menu button sub menu”.

Type of change

  • Bug fix

@ellinge ellinge changed the title fix: Adjust aria labels fix: Adjust aria labels to reference selections and read Remove Jul 5, 2019
@coveralls
Copy link

coveralls commented Jul 5, 2019

Pull Request Test Coverage Report for Build 1279

  • 23 of 23 (100.0%) changed or added relevant lines in 5 files are covered.
  • No unchanged relevant lines lost coverage.
  • Overall coverage increased (+0.09%) to 95.281%

Totals Coverage Status
Change from base Build 1273: 0.09%
Covered Lines: 586
Relevant Lines: 599

💛 - Coveralls

@qlty-cloud-legacy
Copy link

Code Climate has analyzed commit 8eefed7 and detected 0 issues on this pull request.

View more on Code Climate.

@mrchief mrchief merged commit a84ec74 into dowjones:develop Jul 23, 2019
mrchief pushed a commit that referenced this pull request Jul 23, 2019
and ensure "Remove" label is read by Screen readers
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants