fix(a11y): add aria-label to RightMenu documentation and bug-report icon links (#41903)

This commit is contained in:
Elizabeth Thompson
2026-07-11 15:03:24 -07:00
committed by GitHub
parent 0ecf34d80e
commit b237aefb1e

View File

@@ -755,6 +755,7 @@ const RightMenu = ({
target="_blank"
rel="noreferrer"
title={navbarRight.documentation_text || t('Documentation')}
aria-label={navbarRight.documentation_text || t('Documentation')}
>
{navbarRight.documentation_icon ? (
<Icons.BookOutlined />
@@ -772,6 +773,7 @@ const RightMenu = ({
target="_blank"
rel="noreferrer"
title={navbarRight.bug_report_text || t('Report a bug')}
aria-label={navbarRight.bug_report_text || t('Report a bug')}
>
{navbarRight.bug_report_icon ? (
<i className={navbarRight.bug_report_icon} />