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

Item headers not auto-generating appropriate heading level #120

Closed
joe-replin opened this issue Jul 14, 2022 · 2 comments
Closed

Item headers not auto-generating appropriate heading level #120

joe-replin opened this issue Jul 14, 2022 · 2 comments
Assignees

Comments

@joe-replin
Copy link

Bug Description:

The aria heading level for each accordion item is being assigned a value of '5'.

Steps to Reproduce:

Using a screenreader, navigate through the elements of an accordion component
Note the heading level of each accordion item

Actual Behavior:

<div role="heading" aria-level="5"></div>

Expected Behavior:

I'm able to change the heading level of each accordion item if I assign an _ariaLevel at the component heading level. But this should specifically be following the heading level rules set up previously in the following ticket: adaptlearning/adapt-contrib-core#146

@oliverfoster
Copy link
Member

oliverfoster commented Jul 25, 2022

image

It's working fine for me @joe-replin
Are you sure the config.json:_ariaLevels are setup correctly?

image

@oliverfoster oliverfoster self-assigned this Jul 25, 2022
@oliverfoster oliverfoster moved this from New to Awaiting Response in adapt_framework: The TODO Board Jul 25, 2022
@oliverfoster
Copy link
Member

works for me

Repository owner moved this from Awaiting Response to Needs Releasing in adapt_framework: The TODO Board Aug 1, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants