mirror of
https://github.com/makeplane/plane.git
synced 2026-09-02 12:09:14 +02:00
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:
@@ -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" />}
|
||||
|
||||
Reference in New Issue
Block a user