epub-type-has-matching-role rule not applicable
Open
- Dominant language
- JavaScript
- Stars
- 98
- Forks
- 29
- PR merge metrics
- No merged PRs in 30d
Description
ACE reports the `epub-type-has-matching-role` error even when no corresponding ARIA role is allowed in the given context:
```xml
Manzoni, Milano, Moderne
```
According to the [EPUB Type to ARIA Role Authoring Guide](https://www.w3.org/TR/epub-aria-authoring-11/), the ARIA role `doc-chapter` is only permitted on `section` elements. Therefore, there is no valid matching role for this element in this context. A related issue was already raised and resolved in #433.
Contributor guide
Assessment
This issue has not been assessed yet.