mirror of
https://github.com/apache/superset.git
synced 2026-07-16 11:46:09 +00:00
fix(a11y): add aria-label to RightMenu documentation and bug-report icon links (#41903)
This commit is contained in:
committed by
GitHub
parent
0ecf34d80e
commit
b237aefb1e
@@ -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} />
|
||||
|
||||
Reference in New Issue
Block a user