Skip to content

Additional inference rules for nonvisual reading #18

@HadrienGardeur

Description

@HadrienGardeur

Once support for parsing HTML/CSS (#180) has been added, we should be in a position to:

  • check for decorative images (with an ARIA role set to presentation or none, which should translate into the presentation role in Guided Navigation)
  • identify images where the height/width ratio makes them decorative
  • and/or images with decent enough alternate descriptions (rules still TBD, but for example we'll check for filenames using a regexp)

If all images are:

… then we should be able to infer "accessModeSufficient": "textual".

Given the need to parse HTML to support this inference, we'll put this feature behind an optional flag for both rwp manifest and rwp serve.

Metadata

Metadata

Assignees

Labels

manifestRelated to the manifest command

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions