Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Additional inference rules for nonvisual reading #182

Open
HadrienGardeur opened this issue Jan 4, 2025 · 0 comments
Open

Additional inference rules for nonvisual reading #182

HadrienGardeur opened this issue Jan 4, 2025 · 0 comments

Comments

@HadrienGardeur
Copy link
Member

HadrienGardeur commented Jan 4, 2025

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 "displayTransformability": "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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants