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:
yyh
2026-03-12 11:15:34 +08:00
parent d27a737cd1
commit cb8e20786a

View File

@ -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}