question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

QSelect input now fails WCAG 2.0 A standards

See original GitHub issue

Describe the bug The changes introduced by #9983 cause QSelects to actively fail WCAG 2.0 A checks in axe-core now. Admittedly, the change is more accessible, but now fails standards checks whereas before it was less accessible but passed the check. 😃

The specific violations:

  • Ensures ARIA attributes are allowed for an element’s role: ARIA attribute is not allowed: aria-multiselectable=“false”
    • Likely Remedy: aria-multiselectable belongs on the element with role="listbox"
  • aria-labelledby or aria-label attribute does not exist, references elements that do not exist or references elements that are empty
    • Likely Remedy: Should add aria-label similar to how QInput behaves.
  • Invalid ARIA attribute value: aria-activedescendant=“f_a1004b26-2180-4fad-8186-a3b48c387fe1_-1”
    • Likely Remedy: aria-activedescendant must be a descendant of the element or in the aria-owns comma-separated list. The current implementation puts the element with role="listbox" in the aria-owns attr rather than the individual elements that have role="option". Use comma-separated list of role="option" items in the aria-owns attribute. (This one is silly, the implementation here is cleaner, but this is what the spec says)

Codepen/jsFiddle/Codesandbox (required) Codepen doesn’t really describe the problem. The described violations occur when running Axe devtools on quasar.dev.

Expected behavior No accessibility violations.

Platform (please complete the following information): Quasar Version: 1.15.23

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Reactions:1
  • Comments:18 (7 by maintainers)

github_iconTop GitHub Comments

1reaction
pdanpdancommented, Jul 22, 2021

Wow, very nice report. Let me digest it over the weekend and I’ll be back with news. Thank you.

1reaction
pdanpdancommented, Jul 21, 2021
Read more comments on GitHub >

github_iconTop Results From Across the Web

Understanding Success Criterion 3.2.2 - W3C
Techniques and Failures for Success Criterion 3.2. 2 - On Input. Each numbered item in this section represents a technique or combination of...
Read more >
Web Content Accessibility Guidelines (WCAG) 2.0 - W3C
(Refer to Guideline 4.1 for additional requirements for controls and content that accepts user input.) Time-Based Media: If non-text content is ...
Read more >
WCAG 2 Overview | Web Accessibility Initiative (WAI) - W3C
Introduces the Web Content Accessibility Guidelines (WCAG) international standard, including WCAG 2.0, WCAG 2.1, and WCAG 2.2. WCAG documents explain how to ...
Read more >
WCAG 2 FAQ | Web Accessibility Initiative (WAI) - W3C
Answers to some frequently asked questions (FAQ) about Web Content Accessibility Guidelines (WCAG).
Read more >
F36: Failure of Success Criterion 3.2.2 due to ... - W3C
It is better to rely on the standard form behavior of the submit button and enter key. Examples. Failure Example 1: This failure...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found