Hi Alexander,

Thanks for pointing out this new element. We are right now at the
WebkitGTK2013 hackfest, so Joanie and I had some time to discuss this.
After giving this some thought, we think that a state is not the proper
way to go. It would be better to expose this by expanding the AtkValue
interface. It already exposes current, minimum and maximum. So the idea
would be to expose low, high and optimum as well. On a related note, we
are also currently discussing the addition of string description of
numerical values to address the issues identified in bug684576 [1]. Soon
we'll have an improved AtkValue interface for your consideration and
implementation.

Again, thanks for the ping

BR

[1] https://bugzilla.gnome.org/show_bug.cgi?id=684576


On 12/11/2013 06:15 PM, Alexander Surkov wrote:
> Hi.
>
> HTML5 introduced meter element [1], which is basically a progressbar
> role but can be in special states:
>
> 1) optimal state when value is in optimal rage  (for example, if  low
> < optimum < high then value should be in [low, high], if optimum >
> high then value should be greater than high.
>
> 2) suboptimal state when value is in range next to optimum range (for
> example, if low < optimum < high then value < low is suboptimal.
>
> 3) subsuboptimal state when value is not neither optimal nor
> suboptimal for example if optimum > high but value < low.
>
> Firefox colors these states as green/yellow/red.
>
> Would it be reasonable to introduce these states in ATK? Any other
> ways to expose that info?
>
> [1]
> http://www.whatwg.org/specs/web-apps/current-work/multipage/the-button-element.html#the-meter-element
>
> Mozilla bug https://bugzilla.mozilla.org/show_bug.cgi?id=559770
> Some examples: http://peter.sh/examples/?/html/meter-progress.html
> Try it out:
> http://www.w3schools.com/tags/tryit.asp?filename=tryhtml5_meter
>
> Thanks.
> Alex.

-- 
----
Alejandro Piñeiro

_______________________________________________
gnome-accessibility-devel mailing list
gnome-accessibility-devel@gnome.org
https://mail.gnome.org/mailman/listinfo/gnome-accessibility-devel

Reply via email to