W3C home > Mailing lists > Public > whatwg@whatwg.org > August 2010

[whatwg] Questions about meter element

From: Ian Hickson <ian@hixie.ch>
Date: Tue, 3 Aug 2010 01:27:34 +0000 (UTC)
Message-ID: <Pine.LNX.4.64.1008030117520.7470@ps20323.dreamhostps.com>
On Wed, 5 May 2010, Yael.Aharon at nokia.com wrote:
>
> I have a couple of questions regarding the meter element.
> 
> 1. I could not find the meter element in the tables in 
> http://dev.w3.org/html5/spec/Overview.html#annotations-for-assistive-technology-products-aria. 
> What is the ARIA role for the meter element?

I don't think ARIA currently has one that is appropriate.


> 2. From UA requirements for showing the gauge: When representing a meter 
> element to the user, the UA should indicate the relative position of the 
> actual value to the minimum and maximum values, and the relationship 
> between the actual value and the three regions of the gauge. Considering 
> that the default size of this element is 5em width and 1em height, how 
> should the 3 regions be represented by the UA?

The simplest way is probably a flat bar with the regions coloured (e.g. 
green for the optimal region, red for the regions on the other end, yellow 
for the remaining region if any) and with a black notch showing where the 
value lies.

HTH,
-- 
Ian Hickson               U+1047E                )\._.,--....,'``.    fL
http://ln.hixie.ch/       U+263A                /,   _.. \   _\  ;`._ ,.
Things that are impossible just take longer.   `._.-(,_..'--(,_..'`-.;.'
Received on Monday, 2 August 2010 18:27:34 UTC

This archive was generated by hypermail 2.4.0 : Wednesday, 22 January 2020 16:59:25 UTC