Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Opening this more for discussion, as I'm sure there is plenty of things I'm not considering...so didn't want to spend a bunch of time on it then realise I'd missed a bunch.
Chrome a while ago added the ability to export tagged PDFs, then a bit later, puppeteer added the functionality to use that as well: puppeteer/puppeteer#7509.
That has both the feature in chrome linked, then later the PR to add it to puppeteer.
Enabling it makes the produced PDF documents more accessible, and means things like
"alt"
text on images are exported:Before change:
After Change:
With the code in the demo slides just being:
This is obviously not a complete PR, but does show that with an extra option passed over in 3 more places, the produced PDFs (if some time is spent on adding alt text to ones talks too...) could be a lot more usable via screen readers and such.
There is probably a question of "Are the PDFs even readable enough for this to matter" which I can't really answer, but it would be cool to see this change added.
Things I don't know:
As I say...this is mostly for a discussion, so if someone with more experience / time already has answers to my questions above, and wants to work on it instead, that is fine with me! I'd just like my slides to be slightly more readable for my colleagues.
Apologies if I missed an open issue / PR on this....I searched a few terms but didn't find anything.