Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make sure we show focus when user navigates using Talkback #6366

Conversation

mendrew
Copy link
Contributor

@mendrew mendrew commented Jan 11, 2024


  • Unit-тесты
  • e2e-тесты
  • Дизайн-ревью
  • Документация фичи
  • Гайд миграции

Описание

Элементы с фокусом не видны через Android TalkBack если они спрятаны с помощью VisuallyHidden.

Изменения

Меняем VisuallyHidden на несколько другой подход, чтобы область фокуса была видна.

We don't use VisuallyHidden for input as it can be focusable
as in talkback an element with VisuallyHidden is hidden and not focus
around is visible.
Copy link
Contributor

size-limit report 📦

Path Size
JS 347.65 KB (+0.01% 🔺)
JS (gzip) 106.3 KB (+0.01% 🔺)
JS (brotli) 87.95 KB (+0.16% 🔺)
JS import Div (tree shaking) 1.43 KB (0%)
CSS 256.65 KB (+0.07% 🔺)
CSS (gzip) 33.6 KB (+0.05% 🔺)
CSS (brotli) 27.28 KB (+0.03% 🔺)

Copy link

This pull request is automatically built and testable in CodeSandbox.

To see build info of the built libraries, click here or the icon next to each commit SHA.

Latest deployment of this branch, based on commit 8fc7ca5:

Sandbox Source
VKUI TypeScript Configuration

Copy link
Contributor

e2e tests

Playwright Report

Copy link
Contributor

👀 Docs deployed

Commit 8fc7ca5

Copy link

codecov bot commented Jan 11, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (14fccac) 81.26% compared to head (8fc7ca5) 81.26%.

Additional details and impacted files
@@            Coverage Diff             @@
##           master    #6366      +/-   ##
==========================================
- Coverage   81.26%   81.26%   -0.01%     
==========================================
  Files         326      326              
  Lines       10108    10107       -1     
  Branches     3397     3397              
==========================================
- Hits         8214     8213       -1     
  Misses       1894     1894              
Flag Coverage Δ
unittests 81.26% <ø> (-0.01%) ⬇️

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.

@mendrew
Copy link
Contributor Author

mendrew commented Jan 15, 2024

Должно быть исправлено в #6365

@mendrew mendrew closed this Jan 15, 2024
@mendrew mendrew deleted the mendrew/fix/3392/SegmentedControlOption/show-focus-in-talkback branch January 16, 2024 12:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Enhancement][a11y] Доступность для SegmentedControl
1 participant