Skip to content
This repository has been archived by the owner on Mar 13, 2018. It is now read-only.

Commit

Permalink
Use aria-valuetext because reporting (aria-valuenow / aria-valuemax)%…
Browse files Browse the repository at this point in the history
… is annoying
  • Loading branch information
dfreedm committed Jul 16, 2014
1 parent 2b11335 commit 5c3280a
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion paper-slider.html
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,8 @@
touch-action="none" on-down="{{expandKnob}}" on-up="{{resetKnob}}"
on-trackstart="{{trackStart}}" on-track="{{track}}" on-trackend="{{trackEnd}}"
on-transitionend="{{knobTransitionEnd}}"
role="slider" aria-valuenow="{{value}}" aria-valuemin="{{min}}" aria-valuemax="{{max}}" tabindex="0"
role="slider" aria-valuenow="{{value}}" aria-valuemin="{{min}}" aria-valuemax="{{max}}"
aria-valuetext="{{value}}" tabindex="0"
center-justified center horizontal layout>

<div id="sliderKnobInner" value="{{immediateValue}}"></div>
Expand Down

0 comments on commit 5c3280a

Please sign in to comment.