Re: [Accessibility-ia2] placeholder mapping

2015-04-29 Thread James Teh
On 30/04/2015 10:55 AM, Joanmarie Diggs wrote: if you've already made this choice for ATK, FWIW, it was made years ago and by several developers I still think doing this with descriptions might be better, but I do at least follow the reasoning behind this decision. It's worth noting that we do

Re: [Accessibility-ia2] placeholder mapping

2015-04-29 Thread Joanmarie Diggs
On 04/29/2015 08:35 PM, James Teh wrote: > Fair enough. We've tried to keep IA2 and ATK fairly closely synced to > unify things/make things easier, but if you've already made this choice > for ATK, FWIW, it was made years ago and by several developers (which I point out simply because this isn't

Re: [Accessibility-ia2] placeholder mapping

2015-04-29 Thread James Teh
On 30/04/2015 10:26 AM, Joanmarie Diggs wrote: Good point. There's an alternative, though: the UA could expose it as a description only if there is no value. Once there is a value, it isn't exposed. If the value is cleared, it gets exposed again. And UAs would also have to emit a signal to indic

Re: [Accessibility-ia2] placeholder mapping

2015-04-29 Thread Joanmarie Diggs
On 04/29/2015 06:37 PM, James Teh wrote: > On 30/04/2015 3:16 AM, Joanmarie Diggs wrote: >> It's possible to have a name and description and placeholder. > True, but it's also possible to have multiple other things which would > normally get mapped to name or description. That's why we have > prece

Re: [Accessibility-ia2] placeholder mapping

2015-04-29 Thread James Teh
On 30/04/2015 3:16 AM, Joanmarie Diggs wrote: It's possible to have a name and description and placeholder. True, but it's also possible to have multiple other things which would normally get mapped to name or description. That's why we have precedence rules. :) Beyond that, because the plac

Re: [Accessibility-ia2] placeholder mapping

2015-04-29 Thread Joanmarie Diggs
Hey James. On 04/29/2015 07:34 AM, James Teh wrote: > Pardon my lack of awareness here; I'm coming into this discussion cold > and am not part of the W3C working groups. Feel free to point me at a > thread or something. I'm curious as to why placeholder shouldn't be > exposed as the description b

Re: [Accessibility-ia2] placeholder mapping

2015-04-29 Thread Alexander Surkov
I support the idea that the browser should find a best match for accessible name and description. Btw, current version of HTML a11y spec agrees on it [1]. After all there's backward compatibility issue If placeholder is exposed leaving accessible name blank. [1] http://rawgit.com/w3c/aria/master/h

Re: [Accessibility-ia2] placeholder mapping

2015-04-29 Thread James Teh
On 29/04/2015 12:08 AM, Joseph Scheuhammer wrote: a few questions is aria-placeholder ever to be used as fallback for accname/description calculation? My position is that, yes, aria-placeholder text can be used as a fallback for a name, but the decision should be left to the AT. The placeholder