Open dalhosny opened 7 years ago
@dalhosny FYI #1241 addresses the bilingualism issue you identified in the FIP image. Apparently I sent it out literally a minute before this issue was opened lol.
Well that's convenient, thank you!
I was looking at the change in #1241 though and it seems to be following this WCAG technique:
http://www.w3.org/TR/WCAG20-TECHS/H2.html
That works for any <object>
contained in an <a>
, but can you recommend an approach when no<a>
is used/required? I think we'll need another way to associate the <object>
with the text. For example, the wmms-blk.svg in my previous post.
Thank you.
@dalhosny In #1241, all I did was modify the content of pre-existing text alternatives to be more consistent with the text in the SVGs. I hadn't considered changing any surrounding HTML markup.
From what I can tell, all of WET's unlinked SVG objects are currently employing technique G94 and technique ARIA6 to comply with success criterion 1.1.1.
I really like your suggestion for applying technique H53 for bilingual alt text since it'd make it possible to programmatically declare the "opposite" languages in the text alternatives.
Before proceeding with implementing that kind of technique, we might want to consider the following:
@LaurentGoderre @lucas-hay @shawnthompson @nschonni Thoughts?
Hello,
We noticed on the example bilingual server message page, some of the
<object>
alt text defined in thearia-label
is not bilingual.Ie. http://wet-boew.github.io/themes-dist/GCWeb/servermessage-en-fr.html
We were also discussing which of these WCAG techniques would be better for the alt text, as H53 would allow us to wrap the French text in a
<span lang="fr">
to allow screen readers to pronounce it correctly:http://www.w3.org/TR/WCAG20-TECHS/ARIA6.html http://www.w3.org/TR/WCAG20-TECHS/H53.html
What do you recommend?
Thank you.