-
Notifications
You must be signed in to change notification settings - Fork 22
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
Landmark main is back as a violation #139
Comments
I'm surprised, since this is tested by a regression test (see the test data and test method). Can you confirm you're running the latest version, and if yes can you provide a verbose log and input file? |
I do have "Generated by DAISY Ace (0.8.0)" at the beginning of the report. And the verbose log: |
Re-installed ace 0.8.0 |
I can reproduce the issue. It comes from aXe's rule I'm surprised we haven't been hit by this before, but definitely adding this to the next milestone! Thank you Luc for the report. |
Here's what happens: in version 2.6.0 aXe changed the rule I'll fix the rule for Ace, and will now freeze the referenced aXe version to avoid this kind of mismatch. |
aXe 2.6.0 introduces a check ensuring that a document has at least one `main` landmark, in the `landmark-one-main` rule. Ace disables this check, as it makes no real sense in EPUB. Fixes #139
aXe 2.6.0 introduces a check ensuring that a document has at least one `main` landmark, in the `landmark-one-main` rule. Ace disables this check, as it makes no real sense in EPUB. Fixes #139
We had this discussion about having a main element or a role "main" on one major HTML tag like section.
I thought we dismissed it as you said in issue #40 "FWIW, this rule will be deactivated anyway in the upcoming release, since it doesn't make much sense in an EPUB."
Will you maintain it?
The text was updated successfully, but these errors were encountered: