ID 260192: [Programmatic Access - Simon - Go to Dashboard]: Aria-label is not defined for 'Data source: AWS IoT Site Wise’ button under 'Alerting' screen. #66342
Labels
area/alerting
Grafana Alerting
area/frontend
internal
for issues made by grafanistas
MAS
stale
Issue with no recent activity
type/accessibility
Accessibility problem / enhancement
wcag/4.1.2
UI components name and role can be programmatically determined.
User Experience:
Visually impaired people who depend on screen reader will not get information about the control as aria attributes are not defined for the control due to which they will not be able to understand the purpose of it and cannot perform any corresponding action.
Note: User credentials should NOT be included in the bug.
Repro Steps:
Actual Result:
Aria attributes such as
aria-label
,aria-labelledby
andtitle
are not defined for 'Data source: AWS IoT Sitewise’ button under 'Alerting' screen.Screen reader behavior: While navigating on the 'Data source: AWS IoT Sitewise’ button screen reader (Narrator) announces as "button expanded/collapsed".
Expected Result:
Aria attributes such as
aria-label
,aria-labelledby
andtitle
should be defined for 'Data source: AWS IoT Sitewise’ button under 'Alerting' screen.Screen reader should announce the aria-label as "Data source: AWS IoT Sitewise button expanded/collapse" when focus moves on it.
Note: The same issue exists with "Data source: Influx DB, Demoes and ztest" buttons under same screen.
Issue:
Ensures buttons have discernible text (button-name - https://accessibilityinsights.io/info-examples/web/button-name)
Target application:
Alerting: Alert rules - Grafana - https://play.grafana.org/alerting/list
Element path:
section:nth-child(4) > .css-mfsfva[data-testid="rule-group"]:nth-child(3) > .css-kzesqw[data-testid="rule-group-header"] > .css-1ybakrp-button[data-testid="group-collapse-toggle"] Snippet: <button class="css-1ybakrp-button" type="button" aria-expanded="false" data-testid="group-collapse-toggle">
How to fix:
Fix any of the following:
aria-label
attribute does not exist or is emptyaria-labelledby
attribute does not exist, references elements that do not exist or references elements that are emptytitle
attributerole="none"
orrole="presentation"
Environment:
Microsoft Edge Version 105.0.1300.0
This accessibility issue was found using Accessibility Insights for Web 2.32.0 (axe-core 4.4.1), a tool that helps find and fix accessibility issues.
Severity:
SEV2
Area:
Alerting Rules
(RulesGroup component)The text was updated successfully, but these errors were encountered: