fix: enhance accessibility for Upgrade to One link in IssueBulkOperationsRoot

Updated the anchor element for the "Upgrade to One" button to include an aria-label for improved accessibility. This change ensures that screen readers can properly announce the purpose of the link, enhancing the user experience for individuals relying on assistive technologies.
This commit is contained in:
Atul Tameshwari
2026-09-02 14:27:14 +05:30
parent cd379dce98
commit 562c4ae6d4

View File

@@ -39,8 +39,14 @@ export const IssueBulkOperationsRoot = observer(function IssueBulkOperationsRoot
size="sm"
label="Upgrade to One"
nativeButton={false}
// oxlint-disable-next-line jsx_a11y/anchor-has-content -- AnchorButton injects `label` as the anchor's children at runtime
render={<a href={MARKETING_PLANE_ONE_PAGE_LINK} target="_blank" rel="noopener noreferrer" />}
render={
<a
href={MARKETING_PLANE_ONE_PAGE_LINK}
target="_blank"
rel="noopener noreferrer"
aria-label="Upgrade to One"
/>
}
/>
}
render={<div className="w-full" />}