WebAIM - Web Accessibility In Mind

E-mail List Archives

Thread: [WebAim] custom text ctrl.

for

Number of posts in this thread: 2 (In chronological order)

From: shankar shan
Date: Wed, Dec 18 2019 2:44AM
Subject: [WebAim] custom text ctrl.
No previous message | Next message →

Hi all, as the subject line says,
there is a edit ctrl associated with the checkbox, and the checkbox
has the label vendor. once the checking the vendor checkbox, next to
it, the edit ctrl will be enabled and, the edit ctrl does not have the
associated label.
now, I just wanted to no that, the edit ctrl needs to be labeled
compulsory,or if the labels are not presented, what will be the impact
for the screen reader users.




--
jammed and internet hanged?Reach through the following means:
mobile: +91 7795927572
whats app: +91 7795927572
skype: Shankar.a
email: = EMAIL ADDRESS REMOVED =
Thanks and regards
Shankar
*****
ACCESSIBILITY AND USABILITY TESTER AT Cerner Health Care Solutions.
*****

From: glen walker
Date: Wed, Dec 18 2019 11:40AM
Subject: Re: [WebAim] custom text ctrl.
← Previous message | No next message

The input field needs to have a label associated with it.

One possible solution, assuming I'm understanding your question, is:

<input type="checkbox" id="vendor">
<label for="vendor" id="vendorlabel">vendor</label>
<input aria-labelledby="vendorlabel">

That's essentially using the "vendor" label for both the checkbox and the
input field.

My first choice, though, would probably to have a separate visible label
for the input field but that might depend on the design of the page.


On Wed, Dec 18, 2019 at 2:44 AM shankar shan < = EMAIL ADDRESS REMOVED = >
wrote:

> Hi all, as the subject line says,
> there is a edit ctrl associated with the checkbox, and the checkbox
> has the label vendor. once the checking the vendor checkbox, next to
> it, the edit ctrl will be enabled and, the edit ctrl does not have the
> associated label.
> now, I just wanted to no that, the edit ctrl needs to be labeled
> compulsory,or if the labels are not presented, what will be the impact
> for the screen reader users.
>
>
>
>
> --
> jammed and internet hanged?Reach through the following means:
> mobile: +91 7795927572
> whats app: +91 7795927572
> skype: Shankar.a
> email: = EMAIL ADDRESS REMOVED =
> Thanks and regards
> Shankar
> *****
> ACCESSIBILITY AND USABILITY TESTER AT Cerner Health Care Solutions.
> *****
> > > > >