mirror of
https://github.com/langgenius/dify.git
synced 2026-03-21 06:18:27 +08:00
fix: remove aria-hidden from version switch icon
The icon conveys interactive meaning (switch version), so it should not be hidden from assistive technologies.
This commit is contained in:
@ -94,7 +94,7 @@ const ProviderCardActions: FC<Props> = ({ detail, onUpdate }) => {
|
||||
text={(
|
||||
<>
|
||||
<span>{version}</span>
|
||||
{isFromMarketplace && <span aria-hidden className="i-ri-arrow-left-right-line ml-1 h-3 w-3" />}
|
||||
{isFromMarketplace && <span className="i-ri-arrow-left-right-line ml-1 h-3 w-3" />}
|
||||
</>
|
||||
)}
|
||||
hasRedCornerMark={hasNewVersion}
|
||||
|
||||
Reference in New Issue
Block a user