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

AccName should account for images that include alternative text in the file contents #145

Open
cookiecrook opened this issue Oct 4, 2021 · 4 comments
Assignees
Milestone

Comments

@cookiecrook
Copy link
Contributor

cookiecrook commented Oct 4, 2021

AccName should account for images that include alternative text in the file contents

For example, if an HTML alt attribute is not provided, but the image file includes an embedded EXIF description, that could be used. Likewise, SVG <title> could be used in place of @alt regardless of whether there are accessible grouped contents in the SVG.

I'm envisioning a bullet point in the alt text computation that points out to another resource that contains file format-specific info. SVG -> title and/or descendant contents; HEIF -> altt; GIF -> …

@cookiecrook
Copy link
Contributor Author

HEIF (HEIF, HEIC, AVIF, etc.) defines its form of embedded "Accessibility Text" in section 1.1.1. I'm not sure what the best public link is for HEIF, but here's one public resource that mentions altt https://nokiatech.github.io/heif/technical.html

@jnurthen
Copy link
Member

jnurthen commented Oct 5, 2021

When embedded in html I think we need to start with html-aam. We could then clarify 2D to include the ability to get the text alternative from within a source and not only from Elements and attributes.

@cookiecrook
Copy link
Contributor Author

cookiecrook commented Oct 5, 2021

When embedded in html I think we need to start with html-aam.

Would you still consider it appropriate to define the behavior in HTML-AAM when an author could use SVG to embed a raster/bitmap <image> in a context outside HTML? Admittedly this example is slightly contrived, but worth considering.

<image width="100" height="100" xlink:href="./bitmap.png"></image>

@jnurthen jnurthen added this to the 1.2 milestone Oct 7, 2021
@scottaohara scottaohara self-assigned this Oct 7, 2021
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

No branches or pull requests

3 participants