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

feat: update Axe to v3.2.2 #228

Merged
merged 1 commit into from
May 3, 2019
Merged

feat: update Axe to v3.2.2 #228

merged 1 commit into from
May 3, 2019

Conversation

rdeltour
Copy link
Member

@rdeltour rdeltour commented May 3, 2019

  • remove the now unnecessary custom ARIA lookup table (since DPUB roles
    are now natively supported by Axe)
  • in Ace checks, epub:type attribute selectors are replaced by javascript
    matchers, to work around a limitation of Axe's built-in CSS parser
  • patch the only-list-items check, to allow roles subclassing
    listitem as children of lists
  • patch the aria.isAriaRoleAllowedOnElement function to ensure that
    roles that do not explicitly define the elements their allowed on are
    evaluated
  • disable landmark-complementary-is-top-level, which needs further
    review to see if it makes sense in EPUB.

Close #225

- remove the now unnecessary custom ARIA lookup table (since DPUB roles
  are now natively supported by Axe)
- in Ace checks, epub:type attribute selectors are replaced by javascript
  matchers, to work around a limitation of Axe's built-in CSS parser
- patch the `only-list-items` check, to allow roles subclassing
  `listitem` as children of lists
- patch the `aria.isAriaRoleAllowedOnElement` function to ensure that
  roles that do not explicitly define the elements their allowed on are
  evaluated
- disable `landmark-complementary-is-top-level`, which needs further
  review to see if it makes sense in EPUB.

Close #225
@rdeltour rdeltour requested a review from danielweck May 3, 2019 01:35
@danielweck
Copy link
Member

Thanks Romain! :)

Let's merge this PR, and I will align the l10n PR: #223

@danielweck danielweck merged commit acf95da into master May 3, 2019
@rdeltour rdeltour deleted the feature/axe-v3 branch July 8, 2019 13:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Axe monkey patch (aria lookup table) now obsolete? (please check diff)
2 participants