Change epub:type note to a caution and elaborate on applications#2090
Change epub:type note to a caution and elaborate on applications#2090mattgarrish merged 3 commits intomainfrom
Conversation
…s not change the semantics of elements; remove the unchecked restrictions on using epub:type that suggest equivalence with roles
|
We should avoid stating that EPUB-type is not for accessibility. Reading systems can implement accessibility features using the EPUB-type attribute. We should change the text a little. The example follows, you can polish it further. Although the epub:type attribute is similar in nature to the role attribute [HTML], the attributes serve different purposes. The values of the epub:type attribute do not enhance the access through assistive technologies like screen readers as they do not map to the accessibility APIs used by assistive technologies. This means that adding epub:type values to semantically neutral elements like [HTML] div and span does not make them any more accessible to assistive technology. Only ARIA roles influence how assistive technologies understand such elements. |
For this PR, I've changed the note in the
epub:typesection to a caution in removing the unchecked restrictions on its use. I believe it's worth extra emphasis thatepub:typeis not at all like ARIArole.I've also tried to explain the differences better, so the caution now reads:
Fixes #2070
Preview | Diff