Skip to content

ONIX audiobook test not matching the right code number #670

@mattgarrish

Description

@mattgarrish

The current xpath just looks for the value 81:

LET audiobook be the result of calling check for node on onix, /ONIXMessage/Product/DescriptiveDetail[PrimaryContentType = "81" or ProductContentType = "81"]

But 01/81 indicates an audiobook while 09/81 is the code for wcag 2.1, so this triggers false positives in non-audiobooks. ProductFormFeatureType = "01" should also be specified.

See #670 (comment) for the possible issue here.

Metadata

Metadata

Assignees

No one assigned

    Labels

    a11y-display-techniques-onixIssue with the onix accessibility metadata display techniques

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions