WebAIM - Web Accessibility In Mind

E-mail List Archives

Re: [WebAim] custom text ctrl.

for

From: glen walker
Date: Dec 18, 2019 11:40AM


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 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 REMOVED>
> Thanks and regards
> Shankar
> *****
> ACCESSIBILITY AND USABILITY TESTER AT Cerner Health Care Solutions.
> *****
> > > > >