label is not provided to the icon. In which wcag number we need to log the bug
- User
label is not provided to the icon. In which wcag number we need to log the bug
- Assistant
If an icon is not provided with a label, you would typically refer to WCAG (Web Content Accessibility Guidelines) 2.1 Success Criterion 4.1.2, which states that "Name, Role, Value" must be programmatically determined; user interface components should be accessible and usable via assistive technologies.
Additionally, if the icon is a button or a functionality that requires user interaction, you may also want to look at Success Criterion 1.1.1 (Non-text Content), which requires that all non-text content that is presented to the user must have a text alternative that serves the equivalent purpose.
So, to log the bug regarding the icon lacking a label, you'd primarily refer to:
- WCAG 2.1 SC 4.1.2 - Name, Role, Value
- WCAG 2.1 SC 1.1.1 - Non-text Content
These criteria help ensure that icons are correctly labeled for accessibility purposes.
- User
Visual label is not provided for the "Business Expanses" expand/collapse button, due to this keyboard user will not understand the purpose of the icon. Rephrase it in more techinical manner
- Assistant
A visual label is absent for the "Business Expenses" expand/collapse button, which impedes keyboard users' ability to discern the function of the icon. This poses a violation of WCAG 2.1 Success Criterion 4.1.2 (Name, Role, Value), as the lack of an accessible label inhibits users employing assistive technologies from understanding the element's purpose.
- User
ok, But what would be the expected result
- Assistant
Expected Result:
A visual label should be provided for the "Business Expenses" expand/collapse button to ensure that all users, including those using keyboard navigation and assistive technologies, can clearly understand its purpose. This label should be accessible and should meet the requirements of WCAG 2.1 Success Criterion 4.1.2 (Name, Role, Value) and 1.1.1 (Non-text Content). The button should be programmatically associated with an appropriate text alternative that conveys its functionality, allowing users to interact with it effectively.