ember-a11y / ember-a11y-testing

A suite of accessibility tests that can be run within the Ember testing framework

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Aria 1.1 seems not supported

AdrienNguyenWorldline opened this issue · comments

using the aria-current attribute gives an error
it has been added to https://www.w3.org/TR/wai-aria-1.1/ specifications
and was not in Aria 1.0

Reproduction

  • have a tag with aria-selected attribute :
    <li aria-selected="false" aria-current="false" data-option-index="0" role="option">...</li>
  • run with the ember-a11y plugin on didRender

Actual

Error "aria-valid-attr" is thrown

Expected

No error

Is it possible to configure or modify ember-a11y so it does not trigger and error for some of the rules ?

As noted in the readme, this addon is primarily a wrapper around axe-core so any configuration that is possible there is also possible here.

In your case, it looks like there is an open issue for this on that end: dequelabs/axe-core#270.