-
Notifications
You must be signed in to change notification settings - Fork 32
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
feat(AriaLive): add new component #3217
Merged
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
tujoworker
force-pushed
the
feat/aria-live
branch
from
January 12, 2024 10:24
cf3045e
to
ed2f726
Compare
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 95ededa:
|
5 tasks
tujoworker
force-pushed
the
feat/aria-live
branch
2 times, most recently
from
January 15, 2024 13:49
ce13602
to
2912312
Compare
tujoworker
force-pushed
the
feat/aria-live
branch
from
January 15, 2024 19:28
2912312
to
7ba6d8e
Compare
tujoworker
force-pushed
the
feat/aria-live
branch
2 times, most recently
from
January 16, 2024 12:37
1cbbda5
to
e6041d7
Compare
tujoworker
force-pushed
the
feat/aria-live
branch
2 times, most recently
from
January 16, 2024 13:19
048f5e6
to
40d2fc9
Compare
tujoworker
force-pushed
the
feat/aria-live
branch
from
January 16, 2024 19:34
40d2fc9
to
a336d85
Compare
tujoworker
force-pushed
the
feat/aria-live
branch
from
January 17, 2024 10:09
a336d85
to
ff72e55
Compare
joakbjerk
approved these changes
Jan 17, 2024
snorrekim
requested changes
Jan 17, 2024
packages/dnb-design-system-portal/src/docs/uilib/components/aria-live/info.mdx
Outdated
Show resolved
Hide resolved
packages/dnb-design-system-portal/src/docs/uilib/components/aria-live/info.mdx
Outdated
Show resolved
Hide resolved
packages/dnb-design-system-portal/src/docs/uilib/components/aria-live/info.mdx
Outdated
Show resolved
Hide resolved
packages/dnb-design-system-portal/src/docs/uilib/components/aria-live/info.mdx
Outdated
Show resolved
Hide resolved
packages/dnb-design-system-portal/src/docs/uilib/components/aria-live/info.mdx
Outdated
Show resolved
Hide resolved
packages/dnb-design-system-portal/src/docs/uilib/components/aria-live/info.mdx
Outdated
Show resolved
Hide resolved
…ia-live/info.mdx Co-authored-by: Snorre Kim <snorre.kim@dnb.no>
…ia-live/info.mdx Co-authored-by: Snorre Kim <snorre.kim@dnb.no>
…ia-live/info.mdx Co-authored-by: Snorre Kim <snorre.kim@dnb.no>
…ia-live/info.mdx Co-authored-by: Snorre Kim <snorre.kim@dnb.no>
…ia-live/info.mdx Co-authored-by: Snorre Kim <snorre.kim@dnb.no>
snorrekim
approved these changes
Jan 17, 2024
tujoworker
added a commit
that referenced
this pull request
Jan 18, 2024
- [x] Implement screen reader support (relies on #3217) - [x] Align styles - [x] Align texts in counter - [x] Add tests - [x] Add visual test A couple of visual snapshots needed to get update because a new margin was added, to align elements below the checkbox.
tujoworker
pushed a commit
that referenced
this pull request
Jan 22, 2024
## [10.19.0](v10.18.0...v10.19.0) (2024-01-22) ### 🐛 Bug Fixes * **Autocomplete:** replace existing aria-live handling with the AriaLive component ([#3258](#3258)) ([0ec06ca](0ec06ca)) * **Breadcrumb:** fix rehydration disturbance ([#3254](#3254)) ([dcf3a8b](dcf3a8b)), closes [#2762](#2762) [#2671](#2671) * **DrawerList:** update original data when data prop changes ([#3247](#3247)) ([d1b03c2](d1b03c2)) * **Field:** show error state without error object if parent FieldBlock has error ([#3225](#3225)) ([35fe238](35fe238)), closes [#2958](#2958) * **Flex.Container:** ensure rowGap=false has effect ([#3242](#3242)) ([e18ddfd](e18ddfd)) * **forms:** rename `contents` to `content` ([#3257](#3257)) ([2c9a397](2c9a397)) * **Input:** should not clear input value with escape key ([#3235](#3235)) ([979b3e3](979b3e3)) * **PhoneNumber:** handle pattern, schema and validator with country code ([#3249](#3249)) ([ed115d5](ed115d5)) * **Table.Accordion:** prevent accordion from opening on label click ([#3228](#3228)) ([ee5014f](ee5014f)) * **Textarea:** correct outline to be inset ([#3237](#3237)) ([6433470](6433470)) ### ✨ Features * **AriaLive:** add new component ([#3217](#3217)) ([7c79a54](7c79a54)) * **Flex:** add `line-framed` to divider ([#3244](#3244)) ([1aa3338](1aa3338)), closes [#3242](#3242) [#3245](#3245) * **forms:** add labelDescription prop to fields (`labelSecondary` got removed) ([#3251](#3251)) ([00c278c](00c278c)), closes [#3209](#3209) [#3252](#3252) * **NumberUtils.format:** Only return object if returnAria: true ([#3262](#3262)) ([ca4315f](ca4315f)) * **Section:** add support for backgroundColor=transparent ([#3255](#3255)) ([07e1545](07e1545)) * **Textarea:** add characterCounter ([#3210](#3210)) ([5c9dde9](5c9dde9)), closes [#3217](#3217) * **TextCounter:** add new fragment used in Textarea ([#3250](#3250)) ([3093c28](3093c28)), closes [#3210](#3210)
🎉 This PR is included in version 10.19.0 🎉 The release is available on: Your semantic-release bot 📦🚀 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR adds a new component that lets you announce either just text message (content will then be hidden from sighted users), or wrap an area of an app with this component, so the changes gets announced. This behavior is controlled with the
variant
prop.Also, to make it "easy" to use, a
priority
prop is added, that controls the politeness.In order to make VoiceOver read text messages, we need a delay, so a change is recognized and announced.