Skip to content

docs: add keyboard navigation in search mode in sidebar#9354

Merged
EldarMuhamethanov merged 5 commits intomasterfrom
e.muhamethanov/docs/add-search-keydown-navigation
Jan 13, 2026
Merged

docs: add keyboard navigation in search mode in sidebar#9354
EldarMuhamethanov merged 5 commits intomasterfrom
e.muhamethanov/docs/add-search-keydown-navigation

Conversation

@EldarMuhamethanov
Copy link
Copy Markdown
Contributor

@EldarMuhamethanov EldarMuhamethanov commented Jan 12, 2026

  • Release notes

Описание

Добавлена поддержка навигации по результатам поиска в сайдбаре документации с помощью клавиатуры (стрелки вверх/вниз, Enter для перехода) при вводе в поле поиска. Также улучшена accessibility компонента в соответствии с ARIA паттерном combobox.

Изменения

  • Добавлен хук useMenuNavigation для управления состоянием выбранного элемента и обработки клавиатурных событий
  • Добавлены ARIA-атрибуты для паттерна combobox:
    • role="combobox", aria-expanded, aria-haspopup="listbox" для input
    • aria-activedescendant для связи с выбранным элементом
    • aria-controls для связи input с listbox
    • aria-selected для выбранных элементов списка
    • aria-label для списка результатов

Release notes

Документация

  • Для раздела Компоненты в боковом меню добавлена клавиатурная навигация

@github-actions
Copy link
Copy Markdown
Contributor

github-actions bot commented Jan 12, 2026

✅ Изменений в собранных файлах нет

Commit a270d10

@codecov
Copy link
Copy Markdown

codecov bot commented Jan 12, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 94.71%. Comparing base (b56e47a) to head (a270d10).
⚠️ Report is 1 commits behind head on master.

Additional details and impacted files
@@           Coverage Diff           @@
##           master    #9354   +/-   ##
=======================================
  Coverage   94.71%   94.71%           
=======================================
  Files         439      439           
  Lines       11866    11866           
  Branches     4385     4385           
=======================================
  Hits        11239    11239           
  Misses        627      627           
Flag Coverage Δ
unittests 94.71% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@github-actions
Copy link
Copy Markdown
Contributor

github-actions bot commented Jan 12, 2026

👀 Docs deployed

📦 Package ❌

yarn add @vkontakte/vkui@

Commit a270d10

@EldarMuhamethanov EldarMuhamethanov merged commit ade2b41 into master Jan 13, 2026
19 checks passed
@EldarMuhamethanov EldarMuhamethanov deleted the e.muhamethanov/docs/add-search-keydown-navigation branch January 13, 2026 09:16
@github-project-automation github-project-automation bot moved this to ✅ Done in VKUI Jan 13, 2026
@inomdzhon inomdzhon added this to the v8.0.0 milestone Feb 4, 2026
@vkcom-publisher
Copy link
Copy Markdown
Contributor

v8.0.0 🎉

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

Status: ✅ Done

Development

Successfully merging this pull request may close these issues.

4 participants