E-mail List Archives
One question: regarding label for attribute
From: 김형섭
Date: Jun 6, 2016 8:55AM
- Next message: Ryan E. Benson: "Re: Telecommunications Products (1194.23) part of Section 508"
- Previous message: Alex Hall: "Re: Slightly OT: understanding screen reader interaction with Jquery select elements"
- Next message in Thread: Steve Faulkner: "Re: One question: regarding label for attribute"
- Previous message in Thread: None
- View all messages in this Thread
Hello, I'm Hyongsop Kim in Korea and web accessibility tester.
I want to ask your opinion about label for attribute in specific condition.
The condition is that in common case, label tag and input tag is separated.
So I add for attribute in label tag and add id attribute in input tag to correspond each other.
By the way, if input tag is inside label tag, I'm a little confused.
Below is the example code.
<label><input type="checkbox">automatic login</label>
In above code, I know that input tag is inside label tag, there is no need to add id and for attribute.
But unlide NVDA screen reader, our Korean screen reader doesn't support this kind label, so if I press tab key, screen reader says only checkbox with no label.
So how can I solve this problem?
If I add for attribute in label tag and id attribute in input tag, in above code, is this okay?
Thank you for your advice.
- Next message: Ryan E. Benson: "Re: Telecommunications Products (1194.23) part of Section 508"
- Previous message: Alex Hall: "Re: Slightly OT: understanding screen reader interaction with Jquery select elements"
- Next message in Thread: Steve Faulkner: "Re: One question: regarding label for attribute"
- Previous message in Thread: None
- View all messages in this Thread