screen reader and keyboard usability pass

This commit is contained in:
2026-08-23 17:51:46 +03:00
parent db54882933
commit 093b27f3f4
33 changed files with 638 additions and 640 deletions
@@ -104,8 +104,8 @@ export default function CommunityCluesPanel({ onClose }: { onClose: () => void }
onChange={e => setWord(e.target.value.toUpperCase().replace(/[^A-Z]/g, ''))}
onKeyDown={e => e.key === 'Enter' && search()}
/>
<button className="btn btn-sm btn-primary" onClick={search} disabled={!word.trim()}>
<IconSearch size={14} />
<button className="btn btn-sm btn-primary" onClick={search} disabled={!word.trim()} aria-label="Search">
<IconSearch size={14} aria-hidden="true" />
</button>
</div>
@@ -128,8 +128,8 @@ export default function CommunityCluesPanel({ onClose }: { onClose: () => void }
maxLength={500}
onKeyDown={e => e.key === 'Enter' && submitClue()}
/>
<button className="btn btn-sm btn-primary" onClick={submitClue} disabled={submitting || !newClue.trim()}>
<IconSend2 size={14} />
<button className="btn btn-sm btn-primary" onClick={submitClue} disabled={submitting || !newClue.trim()} aria-label={t('game.submit')}>
<IconSend2 size={14} aria-hidden="true" />
</button>
</div>