-
Notifications
You must be signed in to change notification settings - Fork 6.8k
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
docs(demos): add a variety of button demos #5628
Conversation
For the user-facing demo, the fabs should have icons inside rather than text |
<div class="button-row"> | ||
<button md-button>Basic</button> | ||
<button md-button color="primary">Primary</button> | ||
<button md-button color="accent">Ascent</button> |
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.
"Ascent" -> "Accent" (throughout 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.
LOL!
<button md-icon-button color="primary"><md-icon class="md-24">favorite</md-icon></button> | ||
<button md-icon-button color="accent"><md-icon class="md-24">favorite</md-icon></button> | ||
<button md-icon-button color="warn"><md-icon class="md-24">favorite</md-icon></button> | ||
<button md-icon-button disabled><md-icon class="md-24">favorite</md-icon></button> |
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.
Each icon button needs an aria-label
@jelbourn - ready for further review. |
<h3>Icon Buttons</h3> | ||
<div class="button-row"> | ||
<button md-icon-button><md-icon class="md-24" aria-label="favorite">favorite</md-icon></button> | ||
<button md-icon-button color="primary"><md-icon class="md-24" aria-label="favorite">favorite</md-icon></button> |
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 a bit more specific w/ the aria-label:
"Example icon-button with a heart icon"
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
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. |
Adds a variety of new button demos and combinations.