Skip to content

Update accessibility metadata - #140

Open
JayPanoz wants to merge 2 commits into
readium:masterfrom
JayPanoz:accessibility-metadata-changes
Open

JayPanoz wants to merge 2 commits into
readium:masterfrom
JayPanoz:accessibility-metadata-changes

Conversation

@JayPanoz

Copy link
Copy Markdown
Contributor

accessMode, exemption, feature, and hazard can now be expressed as string|string[]

cc @mickael-menu this change should roll out in the next version of TS-Toolkit鈥檚 shared, but that means it impacts mobile toolkits as well.

acessMode, exemption, feature, and hazard can now be expressed as string|string[]

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

馃煝 Approval recommended

Only minor documentation nits remain; no blocking issues were identified.

Pull request overview

Updates accessibility metadata schemas and documentation to support scalar or array values.

Changes:

  • Adds reusable schema definitions.
  • Supports string or string-array values for selected accessibility properties.
  • Updates documentation and examples.
File summaries
File Summary
schema/a11y.schema.json Adds scalar-or-array validation for accessibility metadata.
contexts/default/README.md Documents the expanded value forms and updates examples.
Review details

Suppressed comments (1)

contexts/default/README.md:422

  • This updated sentence is missing an article: focused on list should read focused on a list.
While `accessMode` provides a complete list, `accessModeSufficient` is focused on list of single or combined accessModes that are sufficient to understand all the intellectual content of a resource. `accessMode` can be expressed as a single value or an array of values.
  • Files reviewed: 2/2 changed files
  • Comments generated: 2
  • Review effort level: Lite

馃挕 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

Comment thread contexts/default/README.md Outdated
Comment thread contexts/default/README.md Outdated
@JayPanoz

Copy link
Copy Markdown
Contributor Author

FYI this shipped in shared/2.5.1 today.

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants