E-mail List Archives
Re: Use of label without input
From: Steve Green
Date: Nov 16, 2019 2:42PM
- Next message: Jonathan Cohn: "Re: Use of label without input"
- Previous message: Birkir R. Gunnarsson: "Re: "Accessible" version of documents"
- Next message in Thread: Jonathan Cohn: "Re: Use of label without input"
- Previous message in Thread: Birkir R. Gunnarsson: "Re: [External Sender]Use of label without input"
- View all messages in this Thread
Actually, it does cause an issue, which is caused by one of JAWS' heuristics. If a page contains a <label> element that is not programmatically associated with a labelable element, and the page also contains an unlabelled element that is labelable, JAWS uses the contents of the <label> element to label the other element.
I have seen this many times, and at first I had no idea what was going on because the two elements were hundreds of lines apart in the DOM and there was no apparent relationship between them. However, it was easy to create a minimal test page to verify the theory.
To the best of my knowledge, this issue does not occur with any other screen reader.
Steve Green
Managing Director
Test Partners Ltd
- Next message: Jonathan Cohn: "Re: Use of label without input"
- Previous message: Birkir R. Gunnarsson: "Re: "Accessible" version of documents"
- Next message in Thread: Jonathan Cohn: "Re: Use of label without input"
- Previous message in Thread: Birkir R. Gunnarsson: "Re: [External Sender]Use of label without input"
- View all messages in this Thread