You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
During accessibility testing, our auditor pointed out that on some pages with two or more EuiCodeBlock components, there are multiple buttons with the aria-label="Copy". This violates the WCAG 2.2 guideline on "Info and Relationships".
Let's discuss the available options for addressing this issue.
I see 2 options:
Update API to make possible to override aria-label attribute for Copy button
Using the root level aria-label attribute (already in API), do something like: Copy {rootLevelAriaLabel} code snippet
Description
During accessibility testing, our auditor pointed out that on some pages with two or more
EuiCodeBlock
components, there are multiple buttons with thearia-label="Copy"
. This violates the WCAG 2.2 guideline on "Info and Relationships".Let's discuss the available options for addressing this issue.
I see 2 options:
aria-label
attribute (already in API), do something like:Copy {rootLevelAriaLabel} code snippet
Screen
Related to: https://github.com/elastic/observability-accessibility/issues/129
The text was updated successfully, but these errors were encountered: