-
Notifications
You must be signed in to change notification settings - Fork 6.8k
demo(progress-spinner): Add progress spinner accessibility demo page #6347
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
Conversation
| <section> | ||
| <h2>Loading indicator (Indeterminate progress spinner)</h2> | ||
| <md-progress-spinner mode="indeterminate" | ||
| [value]="loadingValue" color="primary" [strokeWidth]="1"> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
do indeterminate ones need a value?
|
|
||
| <section> | ||
| <h2>Potion of completion (Determinate progress spinner) </h2> | ||
| <md-progress-spinner mode="indeterminate" color="primary"></md-progress-spinner> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
should be determinate? (also needs a value)
| <h2>Potion of completion (Determinate progress spinner) </h2> | ||
| <md-progress-spinner mode="indeterminate" color="primary"></md-progress-spinner> | ||
| <md-spinner color="warn"></md-spinner> | ||
| </section> No newline at end of file |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
\n
|
Comments addressed. Please take another look. Thanks for review! |
| </section> | ||
|
|
||
| <section> | ||
| <h2>Potion of completion (Determinate progress spinner) </h2> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
did you mean "Portion"?
| @@ -0,0 +1,16 @@ | |||
| <section> | |||
| <h2>Loading indicator (Indeterminate progress spinner)</h2> | |||
| <md-progress-spinner mode="indeterminate" color="primary" [strokeWidth]="1"> | |||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Instead of <md-progress-spinner mode="indeterminate">, you can just do <md-spinner> (which is indeterminate by default)
|
|
||
| <section> | ||
| <h2>Potion of completion (Determinate progress spinner) </h2> | ||
| <md-progress-spinner mode="determinate" color="primary" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should be able to omit the mode for determinate since it's the default
a0077ff to
f1cf872
Compare
|
Comments addressed. Please take another look. Thanks for review! |
| @@ -0,0 +1,13 @@ | |||
| <section> | |||
| <h2>Loading indicator (Indeterminate progress spinner)</h2> | |||
| <md-spinner color="indeterminate" [strokeWidth]="1"></md-spinner> | |||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Also just occurred to me that each progress component should have an aria-label
|
Added |
| <section> | ||
| <h2>Portion of completion (Determinate progress spinner) </h2> | ||
| <md-progress-spinner [strokeWidth]="1" color="primary" | ||
| [value]="portionValue" aria-label="Portion complete"> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Could you make the labels something like "Portion of pizza eaten", "Portion of cake eaten"? (e.g. more "real life" examples)
tinayuangao
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Changed to "portion of pizza eaten". PTAL. Thanks!
jelbourn
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, add merge-ready when ready
| [value]="portionValue" aria-label="Portion of pizza eaten"> | ||
| </md-progress-spinner> | ||
| <md-progress-spinner color="warn" [value]="portionValue" | ||
| aria-label="Portion of pizza eate"> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Missing n at the end of the label
dbb23b1 to
e25b78c
Compare
|
This issue has been automatically locked due to inactivity. Read more about our automatic conversation locking policy. This action has been performed automatically by a bot. |
No description provided.