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

CPLAT-17301 Update AriaPropsMixin #742

Merged
merged 36 commits into from
May 9, 2022
Merged
Changes from 1 commit
Commits
Show all changes
36 commits
Select commit Hold shift + click to select a range
f11af9b
Update missing Aria attributes and roles
sydneesampson-wk May 3, 2022
83785b0
Remove over_react.dart import
sydneesampson-wk May 3, 2022
bb10cf0
Add proper syntax
sydneesampson-wk May 3, 2022
8e31951
Build
sydneesampson-wk May 3, 2022
d194bb5
Update values for props
sydneesampson-wk May 3, 2022
72adb67
Format and update prop values
sydneesampson-wk May 3, 2022
a8d969b
Build with new prop values
sydneesampson-wk May 3, 2022
01a1b0c
Update prop values
sydneesampson-wk May 3, 2022
d9129a0
Build
sydneesampson-wk May 3, 2022
bec0e05
Update prop values
sydneesampson-wk May 3, 2022
61d0d4d
Build
sydneesampson-wk May 3, 2022
5295189
Update missing attributes and outdated w3 links
sydneesampson-wk May 4, 2022
2259211
Update w3 links
sydneesampson-wk May 4, 2022
4a9808d
Update w3 links
sydneesampson-wk May 4, 2022
672f356
Update w3 links
sydneesampson-wk May 4, 2022
1933e10
Update w3 links
sydneesampson-wk May 4, 2022
5ab8e11
Update w3 links
sydneesampson-wk May 4, 2022
bda68f3
Update w3 links
sydneesampson-wk May 4, 2022
1eeedb9
Update w3 links
sydneesampson-wk May 4, 2022
5b1f575
Update w3 links
sydneesampson-wk May 4, 2022
1d2ccc3
Update w3 links
sydneesampson-wk May 4, 2022
6d2e531
Update docs
sydneesampson-wk May 4, 2022
e2e9d30
Update docs
sydneesampson-wk May 4, 2022
39f37a8
Update docs
sydneesampson-wk May 4, 2022
31be5bb
Update docs
sydneesampson-wk May 5, 2022
5ba9a50
Update lib/src/component/aria_mixin.dart
sydneesampson-wk May 6, 2022
d0902d3
Update lib/src/component/aria_mixin.dart
sydneesampson-wk May 6, 2022
712ce10
Update docs
sydneesampson-wk May 6, 2022
936c338
Merge branch 'CPLAT-17301-aria-attributes' of github.com:Workiva/over…
sydneesampson-wk May 6, 2022
4ea0c5d
Build
sydneesampson-wk May 6, 2022
cd5251d
Delete unused import
sydneesampson-wk May 6, 2022
0637bcd
Update lib/src/component/aria_mixin.dart
sydneesampson-wk May 6, 2022
5a4560b
Update docs
sydneesampson-wk May 6, 2022
30ff609
Merge branch 'CPLAT-17301-aria-attributes' of github.com:Workiva/over…
sydneesampson-wk May 6, 2022
1e5b08b
Build
sydneesampson-wk May 6, 2022
a086b16
Update docs
sydneesampson-wk May 7, 2022
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Update docs
sydneesampson-wk committed May 6, 2022

Verified

This commit was signed with the committer’s verified signature.
commit 712ce105c5407e9b55c56bcd3a3aee5e55ba722b
28 changes: 28 additions & 0 deletions lib/src/component/aria_mixin.dart
Original file line number Diff line number Diff line change
@@ -1085,6 +1085,12 @@ class Role {
/// See: <https://developer.mozilla.org/en-US/docs/Web/Accessibility/ARIA/Roles/command_role>
static const String command = 'command';

/// Indicates a comment/reaction to some content on the page, or to a previous comment.
///
/// To associate the comment with the text being commented, we need to wrap the commented text
/// with an element containing the aria-details attribute, the value of which should be the ID of
/// the comment.
///
/// See: <https://developer.mozilla.org/en-US/docs/Web/Accessibility/ARIA/Roles/comment_role>
static const String comment = 'comment';

@@ -1103,6 +1109,8 @@ class Role {
/// See: <https://developer.mozilla.org/en-US/docs/Web/Accessibility/ARIA/Roles/complementary_role>
static const String complementary = 'complementary';

/// An abstract role that indicates a widget that may contain navigable descendants or owned children.
///
/// See: <https://developer.mozilla.org/en-US/docs/Web/Accessibility/ARIA/Roles/composite_role>
static const String composite = 'composite';

@@ -1191,9 +1199,18 @@ class Role {
/// See: <https://developer.mozilla.org/en-US/docs/Web/Accessibility/ARIA/Roles/document_role>
static const String document = 'document';

/// A feed is a dynamic scrollable list of articles in which articles are added to or removed from either
/// end of the list as the user scrolls. A feed enables screen readers to use the browse mode reading cursor
/// to both read and scroll through a stream of rich content that may continue scrolling infinitely by loading
/// more content as the user reads
///
/// See: <https://developer.mozilla.org/en-US/docs/Web/Accessibility/ARIA/Roles/feed_role>
static const String feed = 'feed';

/// Identifies a figure inside page content where appropriate semantics do not already exist. A figure is generally
/// considered to be one or more images, code snippets, or other content that puts across information in a different
/// way to a regular flow of text
///
/// See: <https://developer.mozilla.org/en-US/docs/Web/Accessibility/ARIA/Roles/figure_role>
static const String figure = 'figure';

@@ -1214,6 +1231,14 @@ class Role {
/// See: <https://developer.mozilla.org/en-US/docs/Web/Accessibility/ARIA/Roles/form_role>
static const String form = 'form';

/// Creates a nameless container element which has no semantic meaning on its own
///
/// The generic role is intended for use as the implicit role of generic elements in host
/// languages for use by user agents only; not for use by developers. Instead, to remove implicit
/// accessibility semantics, use presentation or none, the <div> and <span> elements that have no
/// semantic meaning, or semantic container roles such as group to semantically group descendants in a
/// named container.
///
/// See: <https://developer.mozilla.org/en-US/docs/Web/Accessibility/ARIA/Roles/generic_role>
static const String generic = 'generic';

@@ -1326,6 +1351,9 @@ class Role {
/// See: <https://developer.mozilla.org/en-US/docs/Web/Accessibility/ARIA/Roles/input_role>
static const String input = 'input';

/// An abstract superclass for the aria role values for sections of content that are important enough
/// that users will likely want to be able to navigate directly to them
///
/// See: <https://developer.mozilla.org/en-US/docs/Web/Accessibility/ARIA/Roles/landmark_role>
static const String landmark = 'landmark';