daisy / daisy/ace

Ace should accept accessibilityFeature values with modifiers

Open
#275 3 comments 0 reactions 1 assignee Claimed by @rdeltour View on GitHub
enhancement
Dominant language
JavaScript
Stars
98
Forks
29
PR merge metrics
No merged PRs in 30d

Description

Some accepted values for the `schema:accessibilityFeature` metadata property accept modifiers, for instance "displayTransformability" can be used with a CSS-property modifier like "displayTransformability/font-size" (see the [WebSchemas/Accessibility wiki page](https://www.w3.org/wiki/WebSchemas/Accessibility#Features_for_transformation)).

Ace currently uses [a hard-coded list of allowed values](https://github.com/daisy/ace/blob/v1.1.1/packages/ace-core/src/checker/checker-epub.js#L56:L86); we should add logic to allow these modifiers.

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.