E-mail List Archives
Re: Voiceover ignore lang attribute
From: Isabel Holdsworth
Date: Jun 18, 2019 4:13AM
- Next message: Isabel Holdsworth: "Re: How to dynamically fix thousands of images missing alt attributes using regular expression find and replace"
- Previous message: Brian Lovely: "Re: [External Sender]role="alert" not being read on page load"
- Next message in Thread: Lory Bineau: "Re: Voiceover ignore lang attribute"
- Previous message in Thread: Lory Bineau: "Voiceover ignore lang attribute"
- View all messages in this Thread
Hi Lory,
JAWS speaks buttons and links in the language that's specified in
their LANG attribute if they have one.
Have you tried wrapping the button's text inside a <span> with a LANG attribute?
<button><span lang="fr">Bonjieur</span></button>
I don't like using hacks like this, but sometimes they're the only
thing that works.
It would be great if you could report this bug to Apple.
Cheers, Isabel
On 14/06/2019, Lory Bineau < <EMAIL REMOVED> > wrote:
> Hello,
>
> If I set the lang attribute on an <a> tag Voice over pronounce it in the
> targeted language.
> But the same thing does not work on <button> or <input type="submit">
> You can reproduce the bug with this link:
> https://codepen.io/lbineau/pen/OYqBeY
> I don't know if it happens on other screen readers.
>
> Has anyone encounter this issue before? How to fix it?
>
> Best regards
> --
> Lory Bineau
> Senior Consultant
> t + 41 58 307 67 25
> <EMAIL REMOVED> <mailto: <EMAIL REMOVED> >
>
> blue-inï¬nity.com<http://www.blue-infinity.com/>
> facebook<https://www.facebook.com/blueinfinityOfficialPage/> |
> linkedIn<https://www.linkedin.com/company/blue-infinity> |
> twitter<https://twitter.com/_blue_infinity> |
> youtube<https://www.youtube.com/c/infinitvblueinfinity/>
>
> blue-infinity Linked by Isobar is part of Dentsu Aegis Network, with over
> 35,000 experts in 145 countries.
>
> The blue-inï¬nity building | 35 route des Jeunes | 1227 Geneva |
> Switzerland
> t +41 58 307 7000 | international t +800 307 70 000
>
>
> -------
> The information in this e-mail, and those ensuing, is confidential and may
> be legally privileged. It is intended solely for the addressee.
> If you are not the intended recipient, please destroy this message and
> notify us immediately.
> > > > >
- Next message: Isabel Holdsworth: "Re: How to dynamically fix thousands of images missing alt attributes using regular expression find and replace"
- Previous message: Brian Lovely: "Re: [External Sender]role="alert" not being read on page load"
- Next message in Thread: Lory Bineau: "Re: Voiceover ignore lang attribute"
- Previous message in Thread: Lory Bineau: "Voiceover ignore lang attribute"
- View all messages in this Thread