fix aria label for screen reader on scatter plot color axis picker #2440
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Description
fix aria label for screen reader on scatter plot color axis picker
[Screen reader – Responsible AI Dashboard – Vision Dashboard>Data analysis]: Screen reader does not announce the associated label information when focus lands on the "Predicted Y" button.
User Experience:
Visually impaired people who depend on screen readers for navigation will get impacted if screen reader does not announce the associated text information for the button. Due to this the end user will find difficulty in identifying the purpose of the button.
Note: User credentials should NOT be included in the bug.
Pre-Requisite: Turn on the screen reader (NVDA)
Repro Steps:
Open RAI dashboard
Navigate to the "Data analysis" section and select the 'Chart view' tab.
Select "Individual data points" radio button present under 'Chart type' and navigate using tab key.
Observe whether the screen reader announces the associated label information when focus lands on the "Predicted Y" button or not.
Actual Result:
Screen reader does not announce the associated label information when focus lands on the "Predicted Y" button.
Observation:
When focus lands on the "Predicted Y" button, the screen reader announces as "Predicted Y" button.
Narrator and JAWS do not announce the associated label information when focus lands on the "Predicted Y" button.
Expected Result:
Screen reader should announce the associated label information when focus lands on the "Predicted Y" button.
Example: When focus lands on the "Predicted Y" button, the screen reader should announce as "Color value - Predicted Y" button.
Checklist