Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Panel - Avoid placing inactive elements in the focus order - (2036570075) #7806

Closed
dqateam opened this issue Sep 19, 2023 · 1 comment
Closed
Labels
0 - new New issues that need assignment. a11y Issues related to Accessibility fixes or improvements. bug Bug reports for broken functionality. Issues should include a reproduction of the bug. needs triage Planning workflow - pending design/dev review.

Comments

@dqateam
Copy link
Collaborator

dqateam commented Sep 19, 2023

Violation:

Avoid placing inactive elements in the focus order

image

WCAG Reference:

Severity:

5

Media Type:

Keyboard Accessibility


Areas for Remediation:

  • Title: Panel - Avoid placing inactive elements in the focus order - (2036570075)
  • Module: Panel
    Issue
    The following content receives focus because it has been provided with tabindex="0" attribute which places them in the focus order. The inactive element should not receive keyboard focus. Examples include:
  • Test 3. Dismissible Panel

User Impact
Keyboard-only users will be able to navigate to this element even if it is off screen. Screen reader users will be able to focus this element if they press Tab, but they will be unable to determine its purpose.

Code Reference

<article aria-busy="false" class="container" tabindex="0"><header class="header"><div class="header-content"><h3 class="heading">River</h3>
(...)
</article>

Suggestion
Developers should remove the tabindex="0" from the mentioned content so that it does not receive keyboard focus.

Compliant Code Example

<article aria-busy="false" class="container"><header class="header"><div class="header-content"><h3 class="heading">River</h3>
(...)
</article>

Additional Resources:

  • Report Source: Product accessibility evaluation conducted on the Calcite Design System in August, 2022.
@dqateam dqateam added 0 - new New issues that need assignment. a11y Issues related to Accessibility fixes or improvements. bug Bug reports for broken functionality. Issues should include a reproduction of the bug. needs triage Planning workflow - pending design/dev review. labels Sep 19, 2023
@driskull
Copy link
Member

driskull commented Jan 8, 2024

Scrollable region must have keyboard access

https://dequeuniversity.com/rules/axe/4.8/scrollable-region-focusable

Any scrollable area (HTML element that has one of the following CSS properties: overflow, overflow-x, or overflow-y set to auto or scroll) should be focusable for keyboard-only users to be able to get to it and scroll its content.

Closing as invalid.

@driskull driskull closed this as completed Jan 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
0 - new New issues that need assignment. a11y Issues related to Accessibility fixes or improvements. bug Bug reports for broken functionality. Issues should include a reproduction of the bug. needs triage Planning workflow - pending design/dev review.
Projects
None yet
Development

No branches or pull requests

2 participants