WebAIM - Web Accessibility In Mind

E-mail List Archives

Thread: Dropdown without a visible label

for

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

From: allyssa jessicon
Date: Fri, Aug 23 2024 2:23AM
Subject: Dropdown without a visible label
No previous message | Next message →

Hello everyone,

I have a dropdown where let's say the dropdown list is Male and Female and
along with Please choose a gender is the default value within the dropdown.
When a screen reader user navigates to it, the screen reader announces
Please choose a gender but upon choosing one replace the option with either
Male or Female and so the screen reader announces Female (along with role
and state) but there is no visible label available. Does this directly fail
any WCAG/Section 508 guideline(s)?

Thanks in advance.


Regards,
Allyssa.

From: Steve Green
Date: Fri, Aug 23 2024 3:49AM
Subject: Re: Dropdown without a visible label
← Previous message | Next message →

Yes, it fails SC 3.3.2: Labels or Instructions, because there must be a persistent visible label.

It may also fail SC 4.1.2: Name, Role and Value, but I can't tell without seeing the code. You can't make that decision based on assistive technology behaviour.

Steve Green
Managing Director
Test Partners Ltd

From: allyssa jessicon
Date: Fri, Aug 23 2024 4:23AM
Subject: Re: Dropdown without a visible label
← Previous message | No next message

Thank you for your quick response Steve, made my day!


On Friday, August 23, 2024, Steve Green < = EMAIL ADDRESS REMOVED = >
wrote:
> Yes, it fails SC 3.3.2: Labels or Instructions, because there must be a
persistent visible label.
>
> It may also fail SC 4.1.2: Name, Role and Value, but I can't tell without
seeing the code. You can't make that decision based on assistive technology
behaviour.
>
> Steve Green
> Managing Director
> Test Partners Ltd
>
>