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

Add ngModel support to button toggles #694

Merged
merged 3 commits into from
Jun 24, 2016

Conversation

iveysaur
Copy link
Contributor

@googlebot googlebot added the cla: yes PR author has agreed to Google's Contributor License Agreement label Jun 15, 2016
@@ -8,14 +8,16 @@ import {
fakeAsync,
tick,
} from '@angular/core/testing';
import {NgControl} from '@angular/common';
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can you add a TODO to update this to @angular/forms when we have rc.2?

@jelbourn
Copy link
Member

Looks good aside from the two comments

@iveysaur
Copy link
Contributor Author

Address comments @devversion and @jelbourn

@jelbourn
Copy link
Member

LGTM

@jelbourn jelbourn merged commit 04bdd16 into angular:master Jun 24, 2016
@angular-automatic-lock-bot
Copy link

This issue has been automatically locked due to inactivity.
Please file a new issue if you are encountering a similar or related problem.

Read more about our automatic conversation locking policy.

This action has been performed automatically by a bot.

@angular-automatic-lock-bot angular-automatic-lock-bot bot locked and limited conversation to collaborators Sep 6, 2019
alexeagle pushed a commit to alexeagle/material2 that referenced this pull request Nov 6, 2024
* build: enable codelyzer and most default Angular CLI TSLint rules

- do some merging of tslint:recommended and our rules

* fix(a11y): fix theme picker keyboard access

enable Codelyzer a11y rules

Relates to angular#671

* fix(component-overview): header does not show up in headings list

Fixes angular#695

* fix(stack-blitz-button): no accessible label and description is not on correct element

Fixes angular#693

* fix(example-viewer): no accessible label on View source button

Fixes angular#693

* fix(component-sidenav): apply aria-current to selected nav items & improve contrast

- use Roboto font instead of system-ui for `docs-nav-content-btn`s
- use a different background color for selected route, in addition to different text color
- increase opacity of `docs-nav-content-btn`s to meet contrast guidelines
- switch to `mat-nav-list` to get the benefits of better contrast and hover/focus styles
  - plus slightly more padding for touch interfaces

Fixes angular#694. Relates to angular#671.

* fix: use header and main tags for more semantic HTML

- improves screen reader support
- footer tags were already properly used

Relates to angular#671.

* fix(component-nav): apply aria-label to navs

- so that they can be differentiated by screen readers

Relates to angular#671.

* fix(component-nav): remove aria-label that duplicates messages

- aria-expanded already covers whether the section can be toggled or not
- the button's text content already covers the accessible name

Relates to angular#671.

* fix(header-link): remove title

- the aria-label is sufficient

Relates to angular#671.

* feat(theme-picker): provide a visual preview of the theme colors via an SVG

* fix(theme-picker,version-picker): add/improve aria-labels and tooltips

Fixes angular#671

* fix: various a11y refinements

- minify theme-demo-icon.svg
- use & instead of / as it reads better on a screen reader
- prefix classes with `docs-`
- tell screen reader users when a theme has been selected

Fixes angular#671
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
cla: yes PR author has agreed to Google's Contributor License Agreement
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants