W3C home > Mailing lists > Public > public-svg-a11y@w3.org > June 2016

trimming whitespace in name and description calculation

From: Fred Esch <fesch@us.ibm.com>
Date: Fri, 10 Jun 2016 11:53:55 -0400
To: "Joseph Scheuhammer" <clown@alum.mit.edu>
Cc: jdiggs <jdiggs@igalia.com>, <public-svg-a11y@w3.org>
Message-Id: <OFD506781E.568CAA5F-ON85257FCE.00556073-85257FCE.0057557B@notes.na.collabserv.com>

Hi Joseph,

In January, Joanie noted that trimming whitespace was omitted from the name
and description calculation. The only place I can find trimming white space
mentioned is in the second sentence of Accessible Name and Description

An implementation trims the text and concatenates it with the text
alternative computed by previous steps.

Is trimming whitespace described elsewhere? In SVG, we have at least one
rule that is dependent on whether a string is empty or not. In SVG Views in
the second bullet we have
If the result is a non-empty string, it SHOULD replace the corresponding
name or description for the svg element while the view is in effect.

Even though this is a SHOULD I am wondering whether trimming strings is
adequately defined.

    Fred Esch                                                 
 Watson, IBM, W3C                                             
 IBM Watson       Watson Release Management and Quality       

(image/gif attachment: 09272675.gif)

Received on Friday, 10 June 2016 16:02:03 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 17:28:20 UTC