Skip to content

a11y:exemption is not recognized by epubcheck #1566

Closed

Description

@jhswift

The relatively new property a11y:exemption is not recognised by the 5.1 version of epubcheck.
If that property is used in the opf file, epubcheck give this error:
Col: 63: ERROR(OPF-027): Undefined property: ""a11y:exemption"".

Activity

  1. mattgarrish commented on Jul 8, 2024

    @mattgarrish
    Member

    Ya, I don't think it's helpful for epubcheck to enforce what properties are allowed in the a11y vocabulary. It's not like the package document vocabularies in the core spec that have elements that require their use.

    It could maybe be a usage message to help people make sure they aren't misspelling property names, but we always expected to extend the vocabulary and this is the second time in the last year alone where we've done it.

  2. self-assigned this
    on Dec 26, 2024
  3. added
    status: in progressThe issue is being implemented by the development team
    type: false-positiveThis issue is about valid content being incorrectly rejected
    on Dec 26, 2024
  4. rdeltour commented on Dec 27, 2024

    @rdeltour
    Member

    I don't think it's helpful for epubcheck to enforce what properties are allowed in the a11y vocabulary. It's not like the package document vocabularies in the core spec that have elements that require their use.

    It could maybe be a usage message to help people make sure they aren't misspelling property names, but we always expected to extend the vocabulary and this is the second time in the last year alone where we've done it.

    Yeah, good point.

    There is currently no way in the EPUBCheck vocabulary declaration to say "these values are ok, and all other values are ok too but should be reported as usage". It's either a fully-checked vocabulary or a fully permissive one.

    For now, I'm just adding the a11y:exemption to the list of known properties, but will consider adding a new vocabulary type to implement what you suggest 👍

  5. added a commit that references this issue on Dec 27, 2024
    06f76ad
  6. added
    status: has PRThe issue is being processed in a pull request
    and removed
    status: in progressThe issue is being implemented by the development team
    on Dec 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

status: has PRThe issue is being processed in a pull requesttype: false-positiveThis issue is about valid content being incorrectly rejected

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

    ⌂ 换网址