First Shift+Tab from Close in the courses side panel does not wrap
Maintainers usually reply within 1 day
Nobody has claimed this yet.
Assessment
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Newbie friendliness
- 68/100
- Issue type
- Bug
- Clarity
- Clearly specified
- Activity status
- Active
- Tech stack
- javascript
- Domain
- accessibility, frontend
Research direction
Start with packages/kolibri-common/components/courses/sidePanel/SidePanelModal.vue and trace how it sets focus on mount and configures KFocusTrap; the issue identifies KFocusTrap.vue in KDS 5.9.0 as the related behavior. Reproduce the first Shift+Tab from Close in a listed host, then verify it focuses the last focusable element while Tab from that element still wraps to Close.
Written by the indexing model from the issue text.
Description
❌ This issue is not open for contribution. Visit Contributing guidelines to learn about the contributing process and how to find suitable issues.
Target branch: develop
Observed behavior
packages/kolibri-common/components/courses/sidePanel/SidePanelModal.vuefocuses the panel itself on mount.- Tab then moves to Close, the first focusable element.
- The first Shift+Tab from Close lands on
KFocusTrap's start sentinel while the trap is still inactive, so KDS 5.9.0KFocusTrap.handleFirstTrapFocusfocuses the first element, Close, again. - Only the second Shift+Tab wraps to the last focusable element.
Expected behavior
- The first Shift+Tab from Close moves focus to the panel's last focusable element.
User-facing consequences
- Keyboard users stay on Close after their first Shift+Tab, in every host of this panel:
- Coach:
LearnerSidePanel.vue,LearningObjectiveSidePanel.vue,sidePanels/AssignCourse/index.vue - Learn:
ResourceLayout/index.vue
- Coach:
Steps to reproduce
- In Coach, open a course's learner side panel.
- Press Tab: focus is on Close.
- Press Shift+Tab: focus stays on Close.
Context
release-v0.20.x,kolibri-design-system5.9.0.
Acceptance Criteria
- In each host above, the first Shift+Tab from Close focuses the panel's last focusable element.
- Tab from the last focusable element still wraps to Close.
AI usage
Claude Code found this while building the viewer sandbox (#15950), traced it in SidePanelModal.vue and KDS KFocusTrap.vue, and drafted this issue.
- Dominant language
- Python
- Stars
- 1.2k
- Forks
- 1.1k
- Avg merge
- 2d 9h
- Merged PRs (30d)
- 87
Getting set up
- Ships a 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 learningequality/kolibri
-
Setup wizard's "Responsibilities as an administrator" step throws when left within 200 ms of openingOpenAPP: Setup Wizard bug DEV: frontend
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
learningequality/kolibri#16097 ·
Maintainers usually reply within 1 day
-
APP: Learn bug DEV: frontend
Difficulty 2/5 1-3 hours Newbie friendliness 30/100
learningequality/kolibri#16096 ·
Maintainers usually reply within 1 day
-
APP: Learn bug DEV: frontend
Difficulty 4/5 3-5 days Newbie friendliness 35/100
learningequality/kolibri#16095 ·
Maintainers usually reply within 1 day
-
APP: Learn bug DEV: frontend
Difficulty 3/5 1-2 days Newbie friendliness 35/100
learningequality/kolibri#16094 ·
Maintainers usually reply within 1 day
-
On-screen keypad and non-ASCII digit keys do nothing in math fields inside a Perseus group widgetOpenbug DEV: renderers
Difficulty 3/5 1-2 days Newbie friendliness 1/100
learningequality/kolibri#16093 ·
Maintainers usually reply within 1 day
All issues in learningequality/kolibri
Similar issues
-
backend: claude chore dependencies
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
briandconnelly/amicus#606 ·
Maintainers usually reply within 1 day
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
semantica-agi/semantica#2320 ·
Maintainers usually reply within 2 days
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 77/100
vllm-project/vllm-omni#11465 ·
Maintainers usually reply within 1 day
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 62/100
jxxghp/MoviePilot#7699 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
vllm-project/vllm-ascend#24010 ·
Maintainers usually reply within 1 day