ReqoreTag with onClick is focusable but not a button: no role, Enter and Space do nothing
Maintainers usually reply within 1 day
@Foxhoundn is already working on this.
Since Oct 6, 2026.
Assessment
This issue has not been assessed yet.
Description
What the landing page needs
The hero's Qonsole card on qorus.cloud has a mode switch ("Design mode" / "Chat mode") that the redesign draws as a soft tag (ReqoreTag appearance="soft" intent="info"). A clickable ReqoreTag (onClick, so interactive) is a div with tabIndex={0} but no role="button" and no key handler (src/components/Tag/index.tsx, the tabIndex={interactive ? 0 : undefined} line): a keyboard user can tab to it and nothing happens on Enter or Space, and a screen reader announces plain text. Testing Library's getByRole('button', …) does not find it either.
What would fix it
When a tag is interactive: role="button" (or a real <button>), Enter and Space call onClick, and aria-pressed passes through for a toggle. A story with a toggle tag driven by the keyboard, and a play test that presses Enter and Space.
Meanwhile
The site keeps a native <button> (no styles of its own except a focus ring) around a non-interactive ReqoreTag: ModeBadge in src/components/home/QonsolePrompt.tsx (qoretechnologies/qorus-saas-landing, branch feature/keycloak-theme), marked TODO(reqore) with this issue.
- Dominant language
- TypeScript
- Stars
- 4
- Forks
- 0
- Avg merge
- 16h 28m
- Merged PRs (30d)
- 9
Getting set up
- No Dockerfile or Docker Compose file
- No pull request template
- Read the contributing guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from qoretechnologies/reqore
-
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
qoretechnologies/reqore#725 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
qoretechnologies/reqore#711 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
qoretechnologies/reqore#675 ·
Maintainers usually reply within 1 day
-
Checkbox: a long description pushes the control out of its container — the label column cannot shrinkPossibly taken @Foxhoundn claimed this 53 days ago. Open
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
qoretechnologies/reqore#662 ·
Maintainers usually reply within 1 day
-
Difficulty 3/5 1-2 days Newbie friendliness 64/100
qoretechnologies/reqore#745 ·
Maintainers usually reply within 1 day
All issues in qoretechnologies/reqore
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
zabuton-app/meguri#875 ·
Maintainers usually reply within 1 day
-
Difficulty 1/5 Under an hour Newbie friendliness 86/100
iruzen-dono/workless#117 ·
Maintainers usually reply within 1 day
-
area:api area:web wave wave:trivial
Difficulty 2/5 1-3 hours Newbie friendliness 67/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 62/100
Maintainers usually reply within 1 day
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
vetro-protocol/vetro-monorepo#1321 ·
Maintainers usually reply within 1 day