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

A11y Tab component Issues #1127

Open
mlmoravek opened this issue Nov 22, 2024 · 0 comments · May be fixed by #1120
Open

A11y Tab component Issues #1127

mlmoravek opened this issue Nov 22, 2024 · 0 comments · May be fixed by #1120
Labels
a11y Accessibility enhancement Improvements to existing features and functionality

Comments

@mlmoravek
Copy link
Member

mlmoravek commented Nov 22, 2024

Overview of the problem

Oruga version: [0.9.1]

The current Tab component have severall a11y issues which should be fixed.

Expected behavior

No a11y issues when testing the Tabs docs page related to the Tabs component.

Sufficient axe tests are work with no problems.

Actual behavior

Elements may only use allowed ARIA attributes
Ensures that ARIA attributes are not forbidden for an element's role.

Element Location:
#tabpanel-1

To solve this problem, you need to fix the following:
aria-labelledby attribute cannot be used on div without valid role attribute.

more information

Certain ARIA roles must contain specific child roles.
Ensures that elements with an ARIA role that require certain child roles also contain them.

To solve this problem, you need to fix the following:
Element has children that are not allowed: [role=button]

more information

Interactive controls must not be nested.

Ensures that interactive controls are not nested, as they may not always be displayed by screen readers or may cause problems with focusing assistive technologies.

Element Location:
#tab-3

To solve this problem, you need to fix the following:
Element has focusable descendants.

more information

@mlmoravek mlmoravek added enhancement Improvements to existing features and functionality a11y Accessibility labels Nov 22, 2024
@mlmoravek mlmoravek changed the title A11y Taginput Issues A11y Tab Issues Nov 25, 2024
@mlmoravek mlmoravek changed the title A11y Tab Issues A11y Tab component Issues Nov 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
a11y Accessibility enhancement Improvements to existing features and functionality
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant