Age | Commit message (Collapse) | Author | Files | Lines |
|
Screen readers read an image's `alt` attribute and the figure caption,
both of which come from the same source in pandoc. The figure caption is
hidden from screen readers with the `aria-hidden` attribute. This
improves accessibility.
For HTML4, where `aria-hidden` is not allowed, pandoc still uses an
empty `alt` attribute to avoid duplicate contents.
Closes: #6491
|
|
depending on file extension of the image path
|
|
The same text is already in the <figcaption> and
screen-readers would read it twice, see #4737
|
|
This is fraught on Windows.
|
|
...even if `implicit_attributes` is not set, by rendering in
raw HTML.
Fixes #4677.
|