Skip to content
This repository has been archived by the owner on Sep 5, 2024. It is now read-only.

fix(linear_progress): Add aria, tests and better animations #339

Closed
wants to merge 1 commit into from

Conversation

EisenbergEffect
Copy link
Contributor

This set of changes adds expected progress-bar aria attributes. It also
adds a small unit test suite. Finally, the animations have been
converted to transforms in order to engage hardware acceleration,
particularly on mobile devices.

Fixes #297

container = angular.element(element[0].querySelector('.container'));
compile: function compile(tElement, tAttrs, transclude) {
tElement.attr('aria-valuemin', 0);
tElement.attr('aria-valuemax', 100);
Copy link
Contributor

Choose a reason for hiding this comment

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

Will there ever be an arbitrary maximum value? I wonder if we need to accommodate aria-valuetext for that. https://developer.mozilla.org/en-US/docs/Web/Accessibility/ARIA/ARIA_Techniques/Using_the_aria-valuetext_attribute

This set of changes adds expected progress-bar aria attributes. It also
adds a small unit test suite. Finally, the animations have been
converted to transforms in order to engage hardware acceleration,
particularly on mobile devices.

Fixes #297
@ajoslin
Copy link
Contributor

ajoslin commented Sep 30, 2014

Merged via 3b38627. Good stuff Rob.

@EisenbergEffect EisenbergEffect deleted the fixup-linear-progress-2 branch September 30, 2014 19:42
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Polish Linear Progress Bar
4 participants