-
Notifications
You must be signed in to change notification settings - Fork 402
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
ERROR RSC-005 thrown on role="doc-epigraph" #1019
Comments
role="doc-cover" also throwing the same error. |
For reference: the rules of where DPUB ARIA roles are allowed in HTML are defined in the ARIA in HTML specification. |
Good catch @rdeltour. @mattgarrish will you please log an issue on ARIA in HTML and the validator? |
Only roles that have inherit from the abstract
(The |
Then there are inconsistencies in ARIA in HTML: e.g. |
I'm not sure I understand why that should be the case however. Why the |
btw @atroia, while we're discussing all this (😊), you can always use the role |
When we created the vocabulary, we were advised to assign landmark roles to the major sectional semantics and assign section to items that are not. That's why you won't find any mixing of I'm not sure why the ARIA document has mixed them, but we also weren't asked about the mapping in that document (that I remember). Definitely something we should clear up, as there may be assumed conditions on the use of the non-landmark roles (like no headings). |
@rdeltour Thank you! That actually works out perfect, since I have an opening |
In HTML, a |
Hi, wondering if you can confirm if it's legitimate to add epigraph semantics to the section tag as per the DAISY knowledge base? |
Yes, it is allowed on The ARIA in HTML document is the authoritative reference for which roles are allowed on which elements. We've worked out the discrepancies that used to exist. |
Used role="doc-epigraph" in a section tag and I'm getting **ERROR RSC-005 : Error while parsing file: value of attribute "role" is invalid; **. I'm not seeing that this ARIA role has been deprecated or done away with.
The text was updated successfully, but these errors were encountered: