Expand my Community achievements bar.

SOLVED

Accessibility Testing failure

Avatar

Level 3

Hi Team,
When i am trying to run "axeDev" tool for one of my page (which includes carousel, card component), i am getting test failure, please find below error which am getting & help me out
"Aria attributes must conform to valid values" 

1 Accepted Solution

Avatar

Correct answer by
Employee Advisor

This could be mostly due to the value is conformable to the aria role. For example, checkbox has only true, false and mixed and the possible values.

Read more at [1] regarding the error. You can checkthrough your rendered HTML for 'aria' and check the conformity based on the roles. 

 

[1] - https://dequeuniversity.com/rules/axe/4.1/aria-valid-attr-value

 

 

View solution in original post

1 Reply

Avatar

Correct answer by
Employee Advisor

This could be mostly due to the value is conformable to the aria role. For example, checkbox has only true, false and mixed and the possible values.

Read more at [1] regarding the error. You can checkthrough your rendered HTML for 'aria' and check the conformity based on the roles. 

 

[1] - https://dequeuniversity.com/rules/axe/4.1/aria-valid-attr-value