caMicroscope icon indicating copy to clipboard operation
caMicroscope copied to clipboard

[Accessibility] Select Element must have an accessible name

Open We13b-MD opened this issue 3 months ago • 6 comments

The accessibility issue I encountered with the

According to https://dequeuniversity.com/rules/axe/4.2/select-name?a codebeforeselectaccess Effective form labels are required to make forms accessible. The purpose of form elements such as checkboxes, radio buttons, input fields, etcetera, is often apparent to sighted users, even if the form element is not programmatically labeled. Screen readers users require useful form labels to identify form fields. Adding a label to all form elements eliminates ambiguity and contributes to a more accessible product.

When labels for form elements are absent, screen reader users do not know the input data expectations. Screen readers cannot programmatically determine information about input objects without an established label relationship (or redundant text serving as a label).

Screenshots )

Before change codebeforeselectaccess

beforeselectaccess

After Changes codeafterselectaccess

afterselectaccess

We13b-MD avatar Mar 22 '24 19:03 We13b-MD

It sounds like you're working on improving the accessibility of form elements by ensuring they have appropriate labels for screen reader users. This is a crucial step in making your website more accessible. :

  1. An accessible name is essential for users who rely on screen readers or other assistive technologies.
  2. Effective form labels are required to make forms accessible.
  3. Screen reader users require useful form labels to identify form fields.
  4. Adding a label to all form elements eliminates ambiguity and contributes to a more accessible product.
  5. When labels for form elements are absent, screen reader users do not know the input data expectations.

Ayesh-07 avatar Mar 23 '24 10:03 Ayesh-07

Yes sure exactly let us find more ways to improve the Accessibility of the website am still going through the workbench page if you have more suggestions let me know

We13b-MD avatar Mar 23 '24 11:03 We13b-MD

Alright thank you noted

We13b-MD avatar Mar 23 '24 14:03 We13b-MD

Skip Links: Include a "Skip to main content" link for keyboard users.

Headings and Structure: Use proper heading tags for a logical structure.

Focus Order: Ensure a logical tabbing order for keyboard navigation.

Landmark Roles: Use ARIA landmark roles to define page regions.

Descriptive Links: Use descriptive link text instead of generic phrases.

Text Resize: Allow text resizing up to 200% without issues.

Timeouts and Sessions: Avoid disruptive session timeouts.

Language Attribute: Specify the language of each page.

Accessible Tables: Ensure tables are marked up correctly for screen readers.

Consistent Navigation: Keep navigation menus consistent across pages.

Implementing these can make your website more accessible.

Ayesh-07 avatar Mar 23 '24 14:03 Ayesh-07

@We13b-MD

Thank you for your understanding. I wanted to clarify an accessibility issue. I'm eager to start my journey in open-source contributions as an Outreachy applicant. My goal is to learn and grow while making meaningful contributions.

Ayesh-07 avatar Mar 23 '24 14:03 Ayesh-07

Great same here 👍if you have any questions am willing to help

We13b-MD avatar Mar 23 '24 14:03 We13b-MD