PFWG comments on Web Notifications

Below are two comments from the Protocols and Formats Working Group on
Web Notifications Last Call Working Draft of 22 September 2013
http://www.w3.org/TR/2013/WD-notifications-20130912/. PFWG approval to
send these comments is archived at
https://www.w3.org/2013/10/09-pf-minutes.html#item04 (Member-only link
right now, should become public in a week).

Comment 1

4.2states - The notification
<http://www.w3.org/TR/2013/WD-notifications-20130912/#concept-notification>'s language
<http://www.w3.org/TR/2013/WD-notifications-20130912/#language> specifies the
primary language for the notification
<http://www.w3.org/TR/2013/WD-notifications-20130912/#concept-notification>'s title
<http://www.w3.org/TR/2013/WD-notifications-20130912/#title> and body
<http://www.w3.org/TR/2013/WD-notifications-20130912/#body>. Its value
is a valid BCP 47 language tag, or the empty string. The empty string
indicates that the primary language is unknown. [LANG]
<http://www.w3.org/TR/2013/WD-notifications-20130912/#refsLANG>"

We should add a Note to state that if the primary language is unknown
this would be a WCAG violation.

Comment 2

The API specifies the ability to supply an icon without the ability to
specify any text alternative for the icon. We need an ability to provide
alternative content for the icon. Given that notifications are created
in JS more or less in real time, a plain string is enough (assuming that
the internationalisation story is 
really correct).
-- 

Michael Cooper
Web Accessibility Specialist
World Wide Web Consortium, Web Accessibility Initiative
E-mail cooper@w3.org <mailto:cooper@w3.org>
Information Page <http://www.w3.org/People/cooper/>

Received on Wednesday, 9 October 2013 16:22:05 UTC