E-mail List Archives
Re: Text concatenation fault with Chrome and the "clip" technique for hiding text
From: Steve Green
Date: Mar 26, 2020 8:48PM
- Next message: Steve Green: "Re: Text concatenation fault with Chrome and the "clip" technique for hiding text"
- Previous message: Birkir R. Gunnarsson: "Re: Text concatenation fault with Chrome and the "clip" technique for hiding text"
- Next message in Thread: Steve Green: "Re: Text concatenation fault with Chrome and the "clip" technique for hiding text"
- Previous message in Thread: Birkir R. Gunnarsson: "Re: Text concatenation fault with Chrome and the "clip" technique for hiding text"
- View all messages in this Thread
I did try adding characters, but it made no difference. There are not currently any characters in the test page, but you can obviously experiment using developer tools.
Steve
-----Original Message-----
From: WebAIM-Forum < <EMAIL REMOVED> > On Behalf Of Birkir R. Gunnarsson
Sent: 27 March 2020 02:45
To: WebAIM Discussion List < <EMAIL REMOVED> >
Subject: Re: [WebAIM] Text concatenation fault with Chrome and the "clip" technique for hiding text
Have you put an character at either the end of the visible word or start of screen reader text?
On 3/26/20, Murphy, Sean < <EMAIL REMOVED> > wrote:
> Steve,
>
>
> Just tested using NVDA and Chrome. Below is what was spoken:
>
> Changepassword
> Make me a hamsandwich
>
> I am assuming " Changepassword" is the concatenated word.
>
> Sean
> -----Original Message-----
> From: WebAIM-Forum < <EMAIL REMOVED> > On Behalf Of
> Steve Green
> Sent: Friday, 27 March 2020 1:03 PM
> To: WebAIM Discussion List < <EMAIL REMOVED> >
> Subject: [WebAIM] Text concatenation fault with Chrome and the "clip"
> technique for hiding text
>
> [External Email] This email was sent from outside the organisation â
> be cautious, particularly with links and attachments.
>
> I have just encountered a weird issue with hidden text, which I have
> never seen before. These days we recommend using the "clip" technique
> to hide text rather than hiding it off-screen, because it works with
> both LTR and RTL languages. However, with JAWS 2019 and 2020 and
> Chrome, I am getting concatenation of the hidden and visible words,
> which is causing mispronunciation.
>
> This does not occur with Firefox, Internet Explorer or the old version
> of Edge, but it does occur with the new version of Edge based on Chromium.
>
> I have created a test page at http://tpl1.com/hidden_text.htm if
> anyone wants to take a look.
>
> You can hear the mispronunciation easily enough, but you can also
> check by reading word by word or letter by letter. There appears to be
> no space character between the concatenated words, even though there
> are spaces in the source code.
>
> The "solution" is to remove the "position:absolute" style rule, but
> the layout then breaks, which means we can't do that.
>
> Has anyone else encountered this, and does anyone have a solution? Has
> this always happened or has something changed in Chrome? I may be
> wrong, but I don't think this is a JAWS bug because it only happens in
> Chromium-based browsers.
>
> I have seen several variants of the "clip" technique and I tested my
> test page with a couple of them. In both cases the only thing that
> made a difference was the "position:absolute" style rule, so I expect
> that will be the case with all the variants.
>
> Regards,
> Steve Green
> Managing Director
> Test Partners Ltd
> 020 3002 4176 (direct)
> 0800 612 2780 (switchboard)
> 07957 246 276 (mobile)
> 020 7692 5517 (fax)
> Skype: testpartners
> <EMAIL REMOVED>
> www.testpartners.co.uk
>
> Connect to me on LinkedIn - http://uk.linkedin.com/in/stevegreen2
>
> > > archives at http://webaim.org/discussion/archives
> > > > archives at http://webaim.org/discussion/archives
> >
--
Work hard. Have fun. Make history.
- Next message: Steve Green: "Re: Text concatenation fault with Chrome and the "clip" technique for hiding text"
- Previous message: Birkir R. Gunnarsson: "Re: Text concatenation fault with Chrome and the "clip" technique for hiding text"
- Next message in Thread: Steve Green: "Re: Text concatenation fault with Chrome and the "clip" technique for hiding text"
- Previous message in Thread: Birkir R. Gunnarsson: "Re: Text concatenation fault with Chrome and the "clip" technique for hiding text"
- View all messages in this Thread