Skip to content
This repository was archived by the owner on Apr 12, 2024. It is now read-only.

fix(ngAria): update aria-valuemin/max when min/max change #11774

Closed

Conversation

gkalpak
Copy link
Member

@gkalpak gkalpak commented Apr 30, 2015

As a result of thi fix, ngMin/Max also set aria-valuemin/max on
"range"-shaped elements.

Fixes #11770

expect(element.attr('aria-valuemax')).toBe('100');
});

it('should update `aria-valuemin/max` when using `ng-min/max`', function() {
Copy link
Contributor

Choose a reason for hiding this comment

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

This should be worded similar to the test above. Or both wrapped in a describe.

@Narretz Narretz added this to the 1.4.x - jaracimrman-existence milestone May 11, 2015
As a result of thi fix, `ngMin/Max` also set `aria-valuemin/max` on
"range"-shaped elements.

Fixes angular#11770
@gkalpak gkalpak force-pushed the ngAria-observe-value-attributes branch from e880f4d to 449ef08 Compare May 12, 2015 13:24
@gkalpak gkalpak closed this in ebaa0f5 Jun 3, 2015
@gkalpak gkalpak deleted the ngAria-observe-value-attributes branch June 3, 2015 23:14
netman92 pushed a commit to netman92/angular.js that referenced this pull request Aug 8, 2015
As a result of thi fix, `ngMin/Max` also set `aria-valuemin/max` on
"range"-shaped elements.

Fixes angular#11770

Closes angular#11774
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

bug(ngAria): update aria-valuemin/max when min/max change
3 participants