daisy / daisy/ace

epub-type-has-matching-role rule not applicable

Open
#455 1 comment 0 reactions 0 assignees View on GitHub
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

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.