-
-
Notifications
You must be signed in to change notification settings - Fork 3.4k
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
Accessibility suggestions for figure and figure caption #6782
Comments
As a blind user, I agree with this, it would be great if they could implement it. Especially because caption and alt text are not the same, they have different purposes. |
I'm closing this in favor of #3177, but added an explicit note to that issue so we do not loose the valuable info here. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
As a blind person who uses screen reading software, I feel Pandoc's support and its syntax for alt text and caption are subject to further discussion.
title
attribute is not recommended to use for<img>
because its value can be not read when alt attribute is present (depending on screen reader settings, etc.): see this posting for more info.I think the following would be more logical:
![alt here](foo.png "caption text here")
Expected Output
html
Please do not use
aria-hidden = "true"
when figcaption is visually available on the screen. Screen-reader users should have the same information if possible (see this spec):There is no need to visually display figcaption when it is not provided:
Or,
Since
alt
text is more important than figcaption (accessibility wise), we can pass figcaption to alt:Or,
docx
"alt here" goes to image title description; "caption here" is inserted as a visible text under the figure.
Currently, Pandoc's behavior is the other way around. Again, the proposed syntax is as follows:
![alt text](foo.png "visible text caption below")
There is no need to visually present caption text; however, still need to keep given alt text.
Since
alt
text is more important than figcaption (accessibility wise), we should pass figcaption to alt while visually presenting the given caption text.Very rare case, but we need to pass alt as "" with no visible caption.
The text was updated successfully, but these errors were encountered: