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

Heading Visualization when Images are used #381

Open
clapierre opened this issue Dec 1, 2022 · 1 comment
Open

Heading Visualization when Images are used #381

clapierre opened this issue Dec 1, 2022 · 1 comment

Comments

@clapierre
Copy link

clapierre commented Dec 1, 2022

In the case where a <h*> contains an image either display that image in this data visualization (preferred solution), or include text "(Image)" and what its alt text description has within it.

EG:
<h1><img style="width: 150pt;" src="../Images/chapter1.jpg" alt="Chapter 1"/></h1>
H1 (Actual Image shown)
or
H1 (Image: "Chapter 1")

@gregoriopellegrino
Copy link

gregoriopellegrino commented Mar 16, 2023

We have also encountered the same problem.

I want add one consideration: in my opinion the heading outline should display the accessible name of the <h> tags. This way we could provide the content creator with an idea of what the assistive technology will actually read.

For example in the case of a page marker within a header the accessible name will contain both the page number and the header:

<h1><span id="page_11" role="doc-pagebreak" aria-label="page 11"/>Chapter 1</h1>

the accessible name will be page 11 Chapter 1.

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

2 participants