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

patch: pr8237 #8239

Merged
merged 1 commit into from
Feb 5, 2025
Merged

patch: pr8237 #8239

merged 1 commit into from
Feb 5, 2025

Conversation

andrey-medvedev-vk
Copy link
Contributor

На основе обратной связи из #4737:
- оставляем только слово "Страницы" как значение по умолчанию у свойства `navigationLabel` (заголовок, `label` всего `Pagination`)
- убираем значение по умолчанию из свойства-функции `getPageLabel`, которое рендерило aria-label для кнопок пагинации. Так как дополнительный текст для кнопок создаёт избыточную информацию. Возможно, что стоит задеприкейтить эту функцию. Но пока оставлю.
- связываем контенер `nav` с заголовком компонента через `aria-labelledby`, чтобы упростить выполнение условия спецификации, в котором говорится, что при наличии более одного `nav` элемента на странице, каждый элемент должен иметь `aria-label`. Теперь для выполнения этого условия достаточно будет проставить соответстующий `navigationLabel`.
- добавили раздел по доступности где перечислены все эти тонкости.
# Conflicts:
#	packages/vkui/src/components/Pagination/Pagination.tsx
@andrey-medvedev-vk andrey-medvedev-vk requested a review from a team as a code owner February 5, 2025 10:00
@andrey-medvedev-vk andrey-medvedev-vk self-assigned this Feb 5, 2025
@andrey-medvedev-vk andrey-medvedev-vk added this to the v7.1.3 milestone Feb 5, 2025
Copy link

codesandbox-ci bot commented Feb 5, 2025

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.

Copy link
Contributor

github-actions bot commented Feb 5, 2025

size-limit report 📦

Path Size
JS 389.75 KB (-0.02% 🔽)
JS (gzip) 118.24 KB (-0.01% 🔽)
JS (brotli) 97.35 KB (+0.02% 🔺)
JS import Div (tree shaking) 1.56 KB (0%)
CSS 342.63 KB (0%)
CSS (gzip) 42.36 KB (0%)
CSS (brotli) 33.75 KB (0%)

Copy link
Contributor

github-actions bot commented Feb 5, 2025

e2e tests

⚠️ Some screenshots were failed. See Playwright Report.

Playwright Report

Copy link
Contributor

github-actions bot commented Feb 5, 2025

👀 Docs deployed

Commit d00b250

Copy link

codecov bot commented Feb 5, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 95.53%. Comparing base (2fb3875) to head (d00b250).
Report is 1 commits behind head on 7.1-stable.

Additional details and impacted files
@@             Coverage Diff             @@
##           7.1-stable    #8239   +/-   ##
===========================================
  Coverage       95.52%   95.53%           
===========================================
  Files             398      397    -1     
  Lines           11358    11355    -3     
  Branches         3754     3753    -1     
===========================================
- Hits            10850    10848    -2     
+ Misses            508      507    -1     
Flag Coverage Δ
unittests 95.53% <100.00%> (+<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.

@andrey-medvedev-vk andrey-medvedev-vk merged commit 7a1d3a0 into 7.1-stable Feb 5, 2025
19 of 29 checks passed
@andrey-medvedev-vk andrey-medvedev-vk deleted the patch/pr8237 branch February 5, 2025 10:18
@vkcom-publisher
Copy link
Contributor

v7.1.3 🎉

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

4 participants