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

Incorrect error reported for ARIA role "separator" on images #405

Open
gregoriopellegrino opened this issue Mar 7, 2024 · 0 comments
Open

Comments

@gregoriopellegrino
Copy link

Please provide the following details if possible or relevant:

  • [] the version of Ace impacted by the issue (as returned by the ace -v command): 1.3.2
  • [] the version of Node used to run Ace (as returned by the node -v command): v18.16.1
  • [] your operating system and version: macOS 14.3.1

Ace by DAISY currently flags the usage of the ARIA role separator on images as an error with the message aria-allowed-role. However, according to the HTML ARIA specification, the role separator is valid for images.

Steps to Reproduce:

  • Insert an image element in the EPUB with the ARIA role separator, e.g., <img src="../Images/separator.png" role="separator" />
  • Run Ace by DAISY or use the tool to check for accessibility errors

Expected Behavior: Ace by DAISY should recognize the ARIA role separator on images as valid and not flag it as an error.

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

No branches or pull requests

1 participant