mirror of
https://github.com/siteboon/claudecodeui.git
synced 2026-03-03 04:57:42 +00:00
fix(api-settings): add aria-label for token visibility toggle button
This commit is contained in:
@@ -75,6 +75,7 @@ export default function GithubCredentialsSection({
|
|||||||
<button
|
<button
|
||||||
type="button"
|
type="button"
|
||||||
onClick={onToggleNewTokenVisibility}
|
onClick={onToggleNewTokenVisibility}
|
||||||
|
aria-label={showNewTokenPlainText ? 'Hide token' : 'Show token'}
|
||||||
className="absolute right-3 top-2.5 text-muted-foreground hover:text-foreground"
|
className="absolute right-3 top-2.5 text-muted-foreground hover:text-foreground"
|
||||||
>
|
>
|
||||||
{showNewTokenPlainText ? <EyeOff className="h-4 w-4" /> : <Eye className="h-4 w-4" />}
|
{showNewTokenPlainText ? <EyeOff className="h-4 w-4" /> : <Eye className="h-4 w-4" />}
|
||||||
|
|||||||
Reference in New Issue
Block a user