BenjaminLawson / PDF.js-Viewer-Shortcode

A Wordpress plugin for embedding PDFs using Mozilla's Excellent PDF.js
https://wordpress.org/plugins/pdfjs-viewer-shortcode/
GNU General Public License v3.0
6 stars 8 forks source link

iFrame Title for Accessibility #1

Open TwisterMc opened 5 years ago

TwisterMc commented 5 years ago

For accessibility, iFrames should have titles. https://www.w3.org/TR/WCAG20-TECHS/H64.html

The user should be able to pass in a title with a generic title as a fallback.

richaber commented 4 years ago

@TwisterMc what would be a preferable "generic title as a fallback?"

richaber commented 4 years ago

We could use something like "Embedded PDF document" or "Embedded PDF viewer," if content author does not supply a title attribute, I'm just not sure what the preference would be.

richaber commented 4 years ago

@BenjaminLawson, @TwisterMc I'm going with 'Embedded PDF Document' as generic fallback for now, we can change it later if there is a desire to do so.

TwisterMc commented 4 years ago

I like "Embedded PDF Document" fas the fallback.