Re: [Accessibility-ia2] Digital Publishing ARIA module

2016-09-28 Thread Richard Schwerdtfeger
Hi Jamie,
 
Here is the branch I just created with many of those changes (you can see the Change Log):
https://rawgit.com/w3c/aria/issue444/dpub-aam/dpub-aam.html
 
Here is the associated issue: https://github.com/w3c/aria/issues/444
 
We still have to resolve what you want to do with page numbers. I worry that this involves a potential name computation which currently does not map to a special property. I would really like to avoid that. That potentially is a lot of spec. work.
 
Cheers,
Rich
Rich Schwerdtfeger
 
 
- Original message -From: Richard Schwerdtfeger/Austin/IBM@IBMUSSent by: accessibility-ia2-boun...@lists.linuxfoundation.orgTo: ja...@nvaccess.orgCc: cl...@alum.mit.edu, accessibility-...@lists.linux-foundation.org, asur...@mozilla.comSubject: Re: [Accessibility-ia2] Digital Publishing ARIA moduleDate: Wed, Sep 28, 2016 10:27 AM 
Hi Jamie,
 
 
1. I support fidelity between Linux and Windows platforms. So, I don't have a problem with IA2_ROLE_SECTION. We really have not used IA2_ROLE_SECTION anywhere in the Core mapping spec. So, we will need to investigate these roles:
 
feed:
ROLE_SYSTEM_GROUPING + object attribute xml-roles:feed
 
figure: 
ROLE_SYSTEM_GROUPING + object attribute xml-roles:figure
 
I would not change figure, as it aligns with HTML, but would you rather feed be an IA2_ROLE_SECTION?
 
2. doc-abstract was a landmark and it is not now so, IA2_ROLE_SECTION it is. good pickup.
3. doc-pagebreak: arla-label is global so we should support name from author even if epub authoring tools don't support it.
4. Yes, this adds a lot of landmarks but the digital publishing community desires those and in their defense there is a lot more information that would benefit from these being landmarks. I know you have had this general problem with landmarks in that you can speak the heading twice. I don't believe you should be speaking both. If the heading referenced as a label then you should not be speaking it again. I agree this is a longer discussion but probably not for the ARIA 1.1 time frame.
5. Regarding doc-pagebreak this will definitely take more discussion. So, you want to take the name and expose it as an object attribute? Seems redundant as this could be addressed with authoring practices (label or title is equivalent to the page number) and you could speak it accordingly. If that is not the case (there are different uses for pagebreak)then we would need to discuss that with the digital publishing community.
http://rawgit.com/w3c/aria/master/aria/dpub.html#doc-pagebreak
 
Rich
Rich Schwerdtfeger
 
 
- Original message -From: James Teh <ja...@nvaccess.org>To: Richard Schwerdtfeger/Austin/IBM@IBMUSCc: IAccessible2 mailing list <accessibility-...@lists.linux-foundation.org>, Alexander Surkov <asur...@mozilla.com>, Joanmarie Diggs <jdi...@igalia.com>Subject: Re: Digital Publishing ARIA moduleDate: Tue, Sep 27, 2016 9:29 PM 
Hi rich, Following are some concerns regarding the mapping for IA2:

doc-abstract is mapped to IA2_ROLE_LANDMARK, but it isn't specified a subclass of landmark, nor is it mapped to ROLE_LANDMARK for ATK. I think it should be mapped to IA2_ROLE_SECTION.doc-colophon, doc-credit, doc-dedication, doc-epigraph, doc-example and doc-qna are all mapped to ROLE_SYSTEM_GROUPING. While this is a bit debatable, I'd argue they should be mapped to IA2_ROLE_SECTION, just as they are mapped to ROLE_SECTION for ATK.I think doc-notice and doc-tip should be mapped to IA2_ROLE_NOTE.This might need some deeper discussion, but I think it could be useful to expose the last value of doc-pagebreak as a page-number object attribute on all block elements until the next doc-pagebreak. This would make it much easier to retrieve the page number at any point, rather than having to search for the page break. Joanie, Alex, I'd appreciate your thoughts on this.
I have a couple of comments regarding the module itself (not the mappings):
doc-pagebreak says "Name from: content", which precludes the name from being specified by the author. is this intentional, and if so, why? Arguably, the title attribute isn't content (though I haven't checked what the name computation stuff says about that). Even putting that aside, it seems like it might be useful to specify the number with aria-label or similar.This creates a huge number of landmarks. This might be too broad a conversation for now, but one concern I have with regions (and now this) is that we end up with a lot of duplicate information when the landmarks also contain a heading, which they often do. So, for example, with a screen reader, we might get "Chapter 1. Getting Started, Chapter 1. Getting Started heading level 1"; we get it once for the chapter landmark and then once for the heading. We can try to use heuristics to work around this, but it seems like a red flag to me, especially if authors use aria-label instead of aria-labelledby (wh

Re: [Accessibility-ia2] Reverse relationships

2016-09-26 Thread Richard Schwerdtfeger
Hi Janina, 
 
I believe you are still the a11y director at the LF? Can you see any reason why IA2 could not be moved to github?
 
Rich
Rich Schwerdtfeger
 
 
- Original message -From: Alexander Surkov Sent by: accessibility-ia2-boun...@lists.linuxfoundation.orgTo: James Teh Cc: IAccessible2 mailing list Subject: Re: [Accessibility-ia2] Reverse relationshipsDate: Fri, Sep 23, 2016 8:00 AM 
 A dummy copy/paste apparently makes a bad job. Thanks for the catch. Here is the change [1]. I guess we could ask them to move the repo to GitHub, not sure if there are any reasons to keep it on the LF server.

[1] http://git.linuxfoundation.org/?p=a11y/ia2.git;a=commitdiff;h=377a994e762820a544ccd13906e0528ea8ee832f
 
On Sun, Sep 18, 2016 at 7:36 PM, James Teh  wrote:

Hi Alex, 
+/** This object is a details for a target object. */+const WCHAR *const IA2_RELATION_DETAILS = L"details";1. I think this is the wrong way around. "This" refers to the object we're pointing *from*. Target means the object we're pointing *at* (or *to*). Details means the object we're pointing *at* (the target) provides details for *this* object.2. I think it'd be good to give a broader description here. I realise many of the other relations don't, but details versus describedBy needs some clarification and I think we should be providing more detail where possible anyway. Perhaps this:"The target object provides the detailed, extended description for this object. It provides more detailed information than would normally be provided using the IA2_RELATION_DESCRIBED_BY relation. A common use for this relation is in digital publishing where an extended description needs to be conveyed in a book that requires structural markup or the embedding of other technology to provide illustrative content." 
+/** The target object is a details for this object. */+const WCHAR *const IA2_RELATION_DETAILS_FOR = L"detailsFor";Perhaps this:"This object provides the detailed, extended description for the target object. See IA2_RELATION_DETAILS." 
+/** This object is an error for a target object. */+const WCHAR *const IA2_RELATION_ERROR = L"error";Again, I think these are the wrong way around. I suggest this:"The target object is the error message for this object." 
+/** The target object is an error for this object. */+const WCHAR *const IA2_RELATION_ERROR_FOR = L"errorFor";I suggest:"This object is the error message for the target object."On another note, is there any chance the Linux Foundation would let us develop IA2 on GitHub? Having to do code review by pasting into emails really sucks. Probably not worth the effort and controversy, but ... ug. :)Thanks!JamieOn 15/09/2016 4:37 AM, Alexander Surkov wrote:
Hi, Jamie.Here's a changeset [1] for new relations (both direct and reverse for aria-details and aria-errormessage). Please review it at your earliest convenience.Please object if you are not convinced that we have a valid use case for each relation. I'll be happy to update the proposal.Thanks!Alex. 
--James TehExecutive Director, NV Access LimitedPh +61 7 3149 3306www.nvaccess.orgFacebook: http://www.facebook.com/NVAccessTwitter: @NVAccessSIP: ja...@nvaccess.org 
___Accessibility-ia2 mailing listAccessibility-ia2@lists.linuxfoundation.orghttps://lists.linuxfoundation.org/mailman/listinfo/accessibility-ia2
 

___
Accessibility-ia2 mailing list
Accessibility-ia2@lists.linuxfoundation.org
https://lists.linuxfoundation.org/mailman/listinfo/accessibility-ia2


Re: [Accessibility-ia2] Reverse relationships

2016-09-19 Thread Richard Schwerdtfeger
I think IA2 should be moved to github as well.
Rich Schwerdtfeger
 
 
- Original message -From: James Teh Sent by: accessibility-ia2-boun...@lists.linuxfoundation.orgTo: Alexander Surkov Cc: IAccessible2 mailing list Subject: Re: [Accessibility-ia2] Reverse relationshipsDate: Sun, Sep 18, 2016 6:36 PM 
Hi Alex,> +/** This object is a details for a target object. */> +const WCHAR *const IA2_RELATION_DETAILS = L"details";1. I think this is the wrong way around. "This" refers to the objectwe're pointing *from*. Target means the object we're pointing *at* (or*to*). Details means the object we're pointing *at* (the target)provides details for *this* object.2. I think it'd be good to give a broader description here. I realisemany of the other relations don't, but details versus describedBy needssome clarification and I think we should be providing more detail wherepossible anyway. Perhaps this:"The target object provides the detailed, extended description for thisobject. It provides more detailed information than would normally beprovided using the IA2_RELATION_DESCRIBED_BY relation. A common use forthis relation is in digital publishing where an extended descriptionneeds to be conveyed in a book that requires structural markup or theembedding of other technology to provide illustrative content."> +/** The target object is a details for this object. */> +const WCHAR *const IA2_RELATION_DETAILS_FOR = L"detailsFor";Perhaps this:"This object provides the detailed, extended description for the targetobject. See IA2_RELATION_DETAILS."> +/** This object is an error for a target object. */> +const WCHAR *const IA2_RELATION_ERROR = L"error";Again, I think these are the wrong way around. I suggest this:"The target object is the error message for this object."> +/** The target object is an error for this object. */> +const WCHAR *const IA2_RELATION_ERROR_FOR = L"errorFor";I suggest:"This object is the error message for the target object."On another note, is there any chance the Linux Foundation would let usdevelop IA2 on GitHub? Having to do code review by pasting into emailsreally sucks. Probably not worth the effort and controversy, but ... ug. :)Thanks!JamieOn 15/09/2016 4:37 AM, Alexander Surkov wrote:> Hi, Jamie.>> Here's a changeset [1] for new relations (both direct and reverse for> aria-details and aria-errormessage). Please review it at your earliest> convenience.>> Please object if you are not convinced that we have a valid use case> for each relation. I'll be happy to update the proposal.>> Thanks!> Alex.--James TehExecutive Director, NV Access LimitedPh +61 7 3149 3306www.nvaccess.orgFacebook: http://www.facebook.com/NVAccessTwitter: @NVAccessSIP: ja...@nvaccess.org___Accessibility-ia2 mailing listAccessibility-ia2@lists.linuxfoundation.orghttps://lists.linuxfoundation.org/mailman/listinfo/accessibility-ia2 
 

___
Accessibility-ia2 mailing list
Accessibility-ia2@lists.linuxfoundation.org
https://lists.linuxfoundation.org/mailman/listinfo/accessibility-ia2


Re: [Accessibility-ia2] Fwd: figure role backgrounds

2016-09-15 Thread Richard Schwerdtfeger
I don't see any advantages to adding a new IA2 role. The other platforms are not doing it either.
 
This is the current mapping we have in the core-aam:
https://rawgit.com/w3c/aria/master/core-aam/core-aam.html#role-map-figure
 
Rich
 
Rich Schwerdtfeger
 
 
- Original message -From: Steve Faulkner <faulkner.st...@gmail.com>To: Richard Schwerdtfeger/Austin/IBM@IBMUSCc: Anne van Kesteren <ann...@annevk.nl>, IAccessible2 mailing list <accessibility-...@lists.linux-foundation.org>, Amelia Bellamy-Royds <amelia.bellamy.ro...@gmail.com>, "asur...@mozilla.com" <asur...@mozilla.com>, Marcos Caceres <mcace...@mozilla.com>, Rich Schwerdtfeger <richsch...@gmail.com>, Alexander Surkov <surkov.alexan...@gmail.com>Subject: Re: [Accessibility-ia2] Fwd: figure role backgroundsDate: Thu, Sep 15, 2016 9:29 AM 
 
On 15 September 2016 at 15:20, Richard Schwerdtfeger <sch...@us.ibm.com> wrote:

Applying the ARIA role to and SVG element, such as a , will do the same thing as .
yeah i was looking at SVG and thinking the same thing as figure is a special type of grouping role. 
The question is, what are the advantages to adding a specific role in IA2 rather than relying on xml-roles:figure object attribute?
 
--RegardsSteveFCurrent Standards Work @W3C
 

___
Accessibility-ia2 mailing list
Accessibility-ia2@lists.linuxfoundation.org
https://lists.linuxfoundation.org/mailman/listinfo/accessibility-ia2


Re: [Accessibility-ia2] Fwd: figure role backgrounds

2016-09-15 Thread Richard Schwerdtfeger
Currently,  maps to the ARIA role="figure" accessibility mapping per the HTML-AAM. Applying the ARIA role to and SVG element, such as a , will do the same thing as .
 
I was in the process of working with Freedom Scientific and NVDA on their implementations when we got held up over the use of  in SVG. If the browser just map implement the ARIA role mapping for the ARIA role or the HTML element  then when we apply the ARIA role mapping to SVG it will look the same to the screen reader vendor as HTML .
 
We have been working toward creating ARIA role semantics, equivalent to HTML semantics, to enable consistency across host languages. Also we have been asked by people in the Web Components community to do this as well.
 
Rich
 
 
 
Rich Schwerdtfeger
 
 
- Original message -From: Anne van Kesteren <ann...@annevk.nl>To: Steve Faulkner <faulkner.st...@gmail.com>Cc: Rich Schwerdtfeger <richsch...@gmail.com>, Alexander Surkov <surkov.alexan...@gmail.com>, Richard Schwerdtfeger/Austin/IBM@IBMUS, IAccessible2 mailing list <accessibility-...@lists.linux-foundation.org>, Alexander Surkov <asur...@mozilla.com>, Marcos Caceres <mcace...@mozilla.com>, Amelia Bellamy-Royds <amelia.bellamy.ro...@gmail.com>Subject: Re: [Accessibility-ia2] Fwd: figure role backgroundsDate: Thu, Sep 15, 2016 6:34 AM 
On Thu, Sep 15, 2016 at 11:43 AM, Steve Faulkner<faulkner.st...@gmail.com> wrote:> Provision of a figure role in Acc APIs is not duplicating anything in HTML.> It is about providing a cross technology identification of a  [feature] that> does not currently have a specific definition.Why is the current implementation not sufficient?> Currently  is defined (and implemented as such) as a group role> in Acc APis with an accessible name derived from a child  if> there is one.It seems that if you have an equivalent situation in SVG where forsome reason you cannot use , you could always use this, no?--https://annevankesteren.nl/ 
 

___
Accessibility-ia2 mailing list
Accessibility-ia2@lists.linuxfoundation.org
https://lists.linuxfoundation.org/mailman/listinfo/accessibility-ia2


Re: [Accessibility-ia2] IA2 IDL

2016-09-12 Thread Richard Schwerdtfeger
Could you add it in for error message so that AT vendors can start work on it 
sooner this week? 

Rich

> On Sep 12, 2016, at 11:35 AM, Alexander Surkov  
> wrote:
> 
> Hi, Rich.
> 
> I didn't updated yet IDL for details and errormessage. I wanted to make it on 
> this week, hoping we can sort out with a reverse relation for aria-details 
> [1].
> 
> Here' a IDL repo [2].
> 
> Thanks.
> Alex.
> 
> [1] 
> https://lists.linuxfoundation.org/pipermail/accessibility-ia2/2016-September/002145.html
>  
> 
> [2] http://git.linuxfoundation.org/?p=a11y/ia2.git;a=summary 
> 
> 
> On Mon, Sep 12, 2016 at 12:23 PM, Rich Schwerdtfeger  > wrote:
> Alex, 
> 
> Would you please email me the updated IDL for IA2.
> 
> I need to have the definitions for the error and details relationships as 
> well as the reverse relationship for the error relationship.
> 
> I also need the new IA2 role for the Landmark role. 
> 
> If you are not able to do it, please send it to me and I will be happy to 
> update it. 
> 
> Thanks,
> 
> Rich
> 
> Rich Schwerdtfeger
> 
> 
> 
> 
> 

___
Accessibility-ia2 mailing list
Accessibility-ia2@lists.linuxfoundation.org
https://lists.linuxfoundation.org/mailman/listinfo/accessibility-ia2


Re: [Accessibility-ia2] IA2 IDL

2016-09-12 Thread Richard Schwerdtfeger
Thank you. It was my understanding that aria-details would not have a reverse relationship.
 
Regards,
Rich
Rich Schwerdtfeger
 
 
- Original message -From: Alexander Surkov Sent by: accessibility-ia2-boun...@lists.linuxfoundation.orgTo: Rich Schwerdtfeger , James Teh Cc: IA2 List , Janina Sajka Subject: Re: [Accessibility-ia2] IA2 IDLDate: Mon, Sep 12, 2016 11:35 AM 
Hi, Rich.I didn't updated yet IDL for details and errormessage. I wanted to make it on this week, hoping we can sort out with a reverse relation for aria-details [1]. 
Here' a IDL repo [2]. 
Thanks.
Alex.
[1] https://lists.linuxfoundation.org/pipermail/accessibility-ia2/2016-September/002145.html[2] http://git.linuxfoundation.org/?p=a11y/ia2.git;a=summary
 
On Mon, Sep 12, 2016 at 12:23 PM, Rich Schwerdtfeger  wrote:

Alex, 
 
Would you please email me the updated IDL for IA2.
 
I need to have the definitions for the error and details relationships as well as the reverse relationship for the error relationship.
 
I also need the new IA2 role for the Landmark role. 
 
If you are not able to do it, please send it to me and I will be happy to update it. 
 
Thanks,
 
Rich
 
Rich Schwerdtfeger
  
___Accessibility-ia2 mailing listAccessibility-ia2@lists.linuxfoundation.orghttps://lists.linuxfoundation.org/mailman/listinfo/accessibility-ia2
 

___
Accessibility-ia2 mailing list
Accessibility-ia2@lists.linuxfoundation.org
https://lists.linuxfoundation.org/mailman/listinfo/accessibility-ia2


Re: [Accessibility-ia2] Agreement on concatenation of aria-describedby and aria-errormessage relationships

2016-09-08 Thread Richard Schwerdtfeger
Alex, you must not NOT concatenate error message to details or describedby relationships. You were given a 5 reasons why this would be a huge problem.
 
Also aria-errormessage does not take multiple IDs.
 
Rich Schwerdtfeger
 
 
- Original message -From: Alexander Surkov <surkov.alexan...@gmail.com>To: James Teh <ja...@nvaccess.org>Cc: Richard Schwerdtfeger/Austin/IBM@IBMUS, IAccessible2 mailing list <accessibility-...@lists.linux-foundation.org>, Brett Lewis <ble...@freedomscientific.com>, Joanmarie Diggs <jdi...@igalia.com>, Dominic Mazzoni <dmazz...@google.com>Subject: Re: Agreement on concatenation of aria-describedby and aria-errormessage relationshipsDate: Thu, Sep 8, 2016 6:41 AM 
Understood. Would it be helpful if we had 'errormessage' object attribute for that? I assume that having both a relation and a concatenated string for error message would address needs of all consumers.
 
On Wed, Sep 7, 2016 at 8:16 PM, James Teh <ja...@nvaccess.org> wrote:

To clarify, I'm concerned about aria-errormessage here. For aria-details, we wouldn't be trying to report the information as one chunk. Instead, the user would perform a command to navigate to the details, at which point they would browse it like they browse any other content.
 
For aria-errormessage, the use case I'm concerned about is when the user focuses an aria-invalid element with aria-errormessage. In that case, we need to report the aria-errormessage content as one chunk. Because this is focus handling, we don't use the buffer for this. There may not even be a buffer in this case, since we don't need a buffer in, say, an ARIA role="application".Jamie
 
On 8/09/2016 2:15 AM, Alexander Surkov wrote:
Shouldn't it be same speed as walking the virtual buffer? I assume aria-details may contain complex content, for example Pythagorean Theorem from [1], that may be not suitable for stringification in general.[1] https://www.w3.org/TR/wai-aria-1.1/#aria-details
 
On Tue, Sep 6, 2016 at 11:31 PM, James Teh <ja...@nvaccess.org> wrote:

That doesn't solve the need to walk the tree to gather the error message, which is the real problem.
 
On 7/09/2016 12:21 PM, Richard Schwerdtfeger wrote:
I think Dominic's suggestion on an interface tester with bit flags works well.
 
Rich
 
Rich Schwerdtfeger
 
 
- Original message -From: James Teh <ja...@nvaccess.org>To: Richard Schwerdtfeger/Austin/IBM@IBMUS, surkov.alexan...@gmail.com, ble...@freedomscientific.com, jdi...@igalia.comCc: Accessibility-ia2@lists.linux-foundation.orgSubject: Re: Agreement on concatenation of aria-describedby and aria-errormessage relationshipsDate: Tue, Sep 6, 2016 7:19 PM 
Fair enough. Thanks for the clear reasoning.
 
My one remaining concern is performance, but we will clearly need to find an alternative technical solution to this problem. In short, not concatenating means that for every focus event, we need to check for the invalid state plus an errormessage relation and then, if one is found, walk the tree for the target to gather the message. The latter in particular could be unacceptably slow. 

On 7/09/2016 6:35 AM, Richard Schwerdtfeger wrote:
 
The ARIA working group is against concatenating the description and relationship strings. I will try to summarize:
 
Specifically, concatenation by browsers could:
 
Defeat the purposes of aria-errormessage. The aria-errormessage relationship is designed to ensure assistive technology users are as aware of error messages as other users and to enable them to distinguish between error messages and field descriptions. The constraints of ARIA 1.0, and every other accessibility standard and API that preceded it, have forced developers to blend error messages and field descriptions. This blending has long inhibited both the perception and understanding of error messages, which are critical to effective operation of many user interfaces.increase cognitive load for users when errors are present. Especially for screen reader users, we already have severe challenges with excess verbosity that forces the user to expend energy sorting out the most important aspects of screen reader feedback. Concatenating potentially very disparate content in this manner would aggravate the verbosity problem.Reduce assistive technology flexibility. Part of the power of ARIA is that it gives assistive technologies the ability to present content in the manner best suited for their target audiences. When browsers eliminate semantically relevant distinctions, this type of flexibility is diminished. If this concatenation were performed, it would essentially eliminate the semantic distinctions.  If an assistive technology developer wanted to present the field description separate from the error messages, the developer would be forced to ignore the browser-computed description when error messages are present and reconstruct the description computation within the assist

Re: [Accessibility-ia2] Form role mapping

2016-09-07 Thread Richard Schwerdtfeger
>*AT and browsers support those roles, if Firefox Nightly starts to expose IA2_ROLE_LANDMARK instead IA2_ROLE_FORM, then it >breaks all existing screen reader versions. In case of commercial screen readers this is painful for the users, since they have to buy a >new version of their screen reader. 
Good point. I will switch back to IA2_ROLE_FORM for forms. We still need IA2_ROLE_LANDMARK for the other land marks.
 
Rich
 
 
Rich Schwerdtfeger
 
 
- Original message -From: Alexander Surkov <surkov.alexan...@gmail.com>To: James Teh <ja...@nvaccess.org>Cc: Richard Schwerdtfeger/Austin/IBM@IBMUS, Brett Lewis <ble...@freedomscientific.com>, Joanmarie Diggs <jdi...@igalia.com>, IAccessible2 mailing list <accessibility-...@lists.linux-foundation.org>Subject: Re: Form role mappingDate: Wed, Sep 7, 2016 10:58 AM 
There's a point in discussing, the spec can be changed, if there's solid ground for that.My concerns are: * Both IA2 and ATK have a better role match for both role='form' and HTML form, which is ATK_ROLE_FORM and IA2_ROLE_FORM. Thus if there's no strong reason why we have to use a 'weaker' role, then I'd say we should go with the match. * AT and browsers support those roles, if Firefox Nightly starts to expose IA2_ROLE_LANDMARK instead IA2_ROLE_FORM, then it breaks all existing screen reader versions. In case of commercial screen readers this is painful for the users, since they have to buy a new version of their screen reader. * I'm not certain if changing IA2_ROLE_FORM to IA2_ROLE_LANDMARK adds any benefits for screen readers. I'd be curious to hear about them.
 
On Tue, Sep 6, 2016 at 7:15 PM, James Teh <ja...@nvaccess.org> wrote:

Hi Rich,
 
I've already stated my view on this:
 
 
I understand the reason for the use of the landmark role for role="form". However, I disagree with the HTML form element being mapped to the landmark role because semantics are lost. The fact that something is a form has more semantic value than just being a landmark. Still, if the spec already requires this, I guess we have little choice but to comply at this stage. 

 At the end of the day, I'm not sure why this is still an open question, since it seems that the spec groups have already made a decision on this: 
The HTML the form element now uses the ARIA mappings for the form role. See "Use WAI-ARIA mapping” under the form element. This is for all platforms.In other words, we can't comply with the spec unless we do as you suggest, so there is no other choice. There is no point in discussing this further.Thanks,Jamie
 
On 7/09/2016 5:54 AM, Richard Schwerdtfeger wrote:
Jamie, Alex, Brett,
 
We need to reach consensus on the  element and role="form" mapping.
 
Can we agree on the following? :
 
1. that the IA2 IDL supports IA2_ROLE_LANDMARK and IA2_ROLE_FORM (so that old versions of FF and other applications using the form role can still work with ATs)
2. For Firefox updates here on out the  element and role="form" map to IA2_ROLE_LANDMARK and xml-roles="form"
 
This way AT vendors can check if something is a landmark to determine if something is a landmark and then expose xml-roles="form"
 
Eventually, it would be better to not have to make an exception for the Form role when all the other landmark roles are represented as IA2_ROLE_LANDMARK with xml-roles="form"
 
This and the other discussion items of the last 2 weeks are holding up 3 working groups - ARIA, HTML, and SVG.
 
Rich Schwerdtfeger
--James TehExecutive Director, NV Access LimitedPh +61 7 3149 3306www.nvaccess.orgFacebook: http://www.facebook.com/NVAccessTwitter: @NVAccessSIP: ja...@nvaccess.org 
 

___
Accessibility-ia2 mailing list
Accessibility-ia2@lists.linuxfoundation.org
https://lists.linuxfoundation.org/mailman/listinfo/accessibility-ia2


Re: [Accessibility-ia2] Agreement on concatenation of aria-describedby and aria-errormessage relationships

2016-09-07 Thread Richard Schwerdtfeger
Yes it may provide alternative content as well.
 
Rich Schwerdtfeger
 
 
- Original message -From: Alexander Surkov <surkov.alexan...@gmail.com>To: James Teh <ja...@nvaccess.org>Cc: Richard Schwerdtfeger/Austin/IBM@IBMUS, IAccessible2 mailing list <accessibility-...@lists.linux-foundation.org>, Brett Lewis <ble...@freedomscientific.com>, Joanmarie Diggs <jdi...@igalia.com>, Dominic Mazzoni <dmazz...@google.com>Subject: Re: Agreement on concatenation of aria-describedby and aria-errormessage relationshipsDate: Wed, Sep 7, 2016 11:15 AM 
Shouldn't it be same speed as walking the virtual buffer? I assume aria-details may contain complex content, for example Pythagorean Theorem from [1], that may be not suitable for stringification in general.[1] https://www.w3.org/TR/wai-aria-1.1/#aria-details
 
On Tue, Sep 6, 2016 at 11:31 PM, James Teh <ja...@nvaccess.org> wrote:

That doesn't solve the need to walk the tree to gather the error message, which is the real problem.
 
On 7/09/2016 12:21 PM, Richard Schwerdtfeger wrote:
I think Dominic's suggestion on an interface tester with bit flags works well.
 
Rich
 
Rich Schwerdtfeger
 
 
- Original message -----From: James Teh <ja...@nvaccess.org>To: Richard Schwerdtfeger/Austin/IBM@IBMUS, surkov.alexan...@gmail.com, ble...@freedomscientific.com, jdi...@igalia.comCc: Accessibility-ia2@lists.linux-foundation.orgSubject: Re: Agreement on concatenation of aria-describedby and aria-errormessage relationshipsDate: Tue, Sep 6, 2016 7:19 PM 
Fair enough. Thanks for the clear reasoning.
 
My one remaining concern is performance, but we will clearly need to find an alternative technical solution to this problem. In short, not concatenating means that for every focus event, we need to check for the invalid state plus an errormessage relation and then, if one is found, walk the tree for the target to gather the message. The latter in particular could be unacceptably slow. 

On 7/09/2016 6:35 AM, Richard Schwerdtfeger wrote:
 
The ARIA working group is against concatenating the description and relationship strings. I will try to summarize:
 
Specifically, concatenation by browsers could:
 
Defeat the purposes of aria-errormessage. The aria-errormessage relationship is designed to ensure assistive technology users are as aware of error messages as other users and to enable them to distinguish between error messages and field descriptions. The constraints of ARIA 1.0, and every other accessibility standard and API that preceded it, have forced developers to blend error messages and field descriptions. This blending has long inhibited both the perception and understanding of error messages, which are critical to effective operation of many user interfaces.increase cognitive load for users when errors are present. Especially for screen reader users, we already have severe challenges with excess verbosity that forces the user to expend energy sorting out the most important aspects of screen reader feedback. Concatenating potentially very disparate content in this manner would aggravate the verbosity problem.Reduce assistive technology flexibility. Part of the power of ARIA is that it gives assistive technologies the ability to present content in the manner best suited for their target audiences. When browsers eliminate semantically relevant distinctions, this type of flexibility is diminished. If this concatenation were performed, it would essentially eliminate the semantic distinctions.  If an assistive technology developer wanted to present the field description separate from the error messages, the developer would be forced to ignore the browser-computed description when error messages are present and reconstruct the description computation within the assistive technology.Lead either browsers or authors to devise their own string-based tokenization capability. Because aria-errormessage is a separate relationship, there will be designers and developers who want to ensure there is a method for parsing the string into its separate components. This would reduce the robustness of the solution and create both inconsistencies and complexity, especially when localizing implementations.Introduce serious problems with globalization: namely there is no clean way to concatenate the 2 strings in a way that will make sense. We cannot put in a space as some languages don't have them (Mandarin). Concatenating them together does not read properly.
 
The aria-errormessage relationship is intended to address long-standing accessibility issues faced by both developers and end users. The energy required to find effective remedies to those issues will definitely pay dividends for assistive technology users.
 
Would each of you weigh in. Again this is now holding up 3 working groups going on 3 weeks now.  Do we agree on not concatenating the two strings?
 
Rich
 
Rich Schwerdtfeger 

--James TehEx

Re: [Accessibility-ia2] Reverse relationships

2016-09-07 Thread Richard Schwerdtfeger
Hi Alex,
 
Correct, aria-details requires no special role. However, the use case is for the digital publishing industry. They want to be able to take a piece of content and go to the alternative content that provides detailed information which could be alternative content as we discussed previously. The user may or may not wish to go back to the content the details is being provided for.
 
The need for a reverse relationship for the error message is more critical.
 
So, do we agree on a reverse relationship for error message and not details?
 
Rich Schwerdtfeger
 
 
- Original message -From: Alexander Surkov <surkov.alexan...@gmail.com>To: Brett Lewis <ble...@vfo-group.com>Cc: Richard Schwerdtfeger/Austin/IBM@IBMUS, "ja...@nvaccess.org" <ja...@nvaccess.org>, "jdi...@igalia.com" <jdi...@igalia.com>, "accessibility-...@lists.linux-foundation.org" <accessibility-...@lists.linux-foundation.org>Subject: Re: Reverse relationshipsDate: Wed, Sep 7, 2016 10:34 AM 
You're right. An element referred by aria-errormessage can be an alert of live region and thus should be announced by a screen reader, when it pops up. In this case, it seems the screen reader may need to find a context element, and if this is true, then the reverse relation is needed. 
aria-details are different, since they are more like labels and descriptions, and I guess thus they should be skipped when navigating the virtual buffer. That suggests that aria-details either needs a role (or xml-roles object attribute) or a reverse relation.
 
On Wed, Sep 7, 2016 at 11:11 AM, Brett Lewis <ble...@vfo-group.com> wrote:

Hi,
Is that documented somewhere?
I read through the information on error and I don’t see anything about AT skipping error messages if encountering them while reading through the virtual buffer.
Have I misunderstood something?
Thanks,
Brett
 
Brett Lewis
VFO | Software Engineer
11800 31st Court North, St. Petersburg, FL 33716
T 727-299-6270
blewis@vfo-group.com
www.vfo-group.com
 
 
From: Alexander Surkov [mailto:surkov.alexander@gmail.com]Sent: Wednesday, September 07, 2016 8:02 AMTo: Brett Lewis <ble...@vfo-group.com>Cc: Richard Schwerdtfeger <sch...@us.ibm.com>; ja...@nvaccess.org; jdi...@igalia.com; Accessibility-ia2@lists.linux-foundation.orgSubject: Re: Reverse relationships
 
Hi, Brett.
Can you please elaborate your use case? My understanding is AT skips error/details, if the user encounters them, but announce them, when the user navigates to an element related with error/details. Why would AT need to find a related element by error/details?
Thanks.
Alex.
 
On Wed, Sep 7, 2016 at 9:42 AM, Brett Lewis <ble...@vfo-group.com> wrote:
Hi Rich,
I think we do need the reverse relationships.
Web authors can place the error/details anywhere on the page and there doesn’t seem to be any simple way for the user to determine what element the error message or details applies to without such a reverse relation.
Brett
 
 
Brett Lewis
VFO | Software Engineer
11800 31st Court North, St. Petersburg, FL 33716
T 727-299-6270
blewis@vfo-group.com
www.vfo-group.com
 
 
From: Richard Schwerdtfeger [mailto:sch...@us.ibm.com]Sent: Tuesday, September 06, 2016 12:57 PMTo: ja...@nvaccess.org; surkov.alexan...@gmail.com; Brett Lewis <ble...@vfo-group.com>; jdi...@igalia.comCc:  Accessibility-ia2@lists.linux-foundation.orgSubject: Reverse relationships
 
We need agreement:
 
Should the error message and details relationships have reverse mappings?
 
Rich
 
Rich Schwerdtfeger
 
 
 

___
Accessibility-ia2 mailing list
Accessibility-ia2@lists.linuxfoundation.org
https://lists.linuxfoundation.org/mailman/listinfo/accessibility-ia2


Re: [Accessibility-ia2] Reverse relationships

2016-09-07 Thread Richard Schwerdtfeger
To be clear, we would not document them in the mapping specification if they are not implemented.
 
When I say add them later I am referring to the mapping spec. and browsers. However, doing that has ramifications for AT vendors.
Rich Schwerdtfeger
 
 
- Original message -From: James Teh <ja...@nvaccess.org>To: Dominic Mazzoni <dmazz...@google.com>, Richard Schwerdtfeger/Austin/IBM@IBMUSCc: accessibility-...@lists.linux-foundation.orgSubject: Re: [Accessibility-ia2] Reverse relationshipsDate: Wed, Sep 7, 2016 12:26 AM 
That's fair. The only problem is that if they're documented in the mapping spec, browsers are technically non-compliant if they don't implement. 

On 7/09/2016 2:58 PM, Dominic Mazzoni wrote:
Is there any reason we shouldn't *define* the reverse relationships now? Browsers can choose not to implement them now for performance reasons, and AT can choose to ignore them.
  

On Tue, Sep 6, 2016 at 7:16 PM Richard Schwerdtfeger <sch...@us.ibm.com> wrote:
Jamie,
 
 
Well you can add reverse relationships later if it becomes an issue. The only problem with adding it later is you will also then need to test if that reverse relation ship exists and what to do with older browsers that won't have the relationship.
 
Rich
 
Rich Schwerdtfeger
 
 
- Original message -From: James Teh <ja...@nvaccess.org>To: Richard Schwerdtfeger/Austin/IBM@IBMUS, surkov.alexan...@gmail.com, ble...@freedomscientific.com, jdi...@igalia.comCc: accessibility-...@lists.linux-foundation.orgSubject: Re: Reverse relationshipsDate: Tue, Sep 6, 2016 7:34 PM 
As I noted previously:
 
 
5. Reverse relations may well be useful in the future. However, if they're a potential perf problem, I agree it makes sense to wait until we have a use case, so long as implementers accept that this use case may one day arise. 

 Right now, we have no plans to implement a "jump to field for error message" command or similar. Perhaps we will one day, but it seems flawed to sacrifice performance for something no one is using yet.Jamie 
On 7/09/2016 5:56 AM, Richard Schwerdtfeger wrote:
We need agreement:
 
Should the error message and details relationships have reverse mappings?
 
Rich
 
Rich Schwerdtfeger 

--James TehExecutive Director, NV Access LimitedPh +61 7 3149 3306www.nvaccess.orgFacebook: http://www.facebook.com/NVAccessTwitter: @NVAccessSIP: ja...@nvaccess.org
 ___Accessibility-ia2 mailing listAccessibility-ia2@lists.linuxfoundation.orghttps://lists.linuxfoundation.org/mailman/listinfo/accessibility-ia2 

--James TehExecutive Director, NV Access LimitedPh +61 7 3149 3306www.nvaccess.orgFacebook: http://www.facebook.com/NVAccessTwitter: @NVAccessSIP: ja...@nvaccess.org
 

___
Accessibility-ia2 mailing list
Accessibility-ia2@lists.linuxfoundation.org
https://lists.linuxfoundation.org/mailman/listinfo/accessibility-ia2


Re: [Accessibility-ia2] Form role mapping

2016-09-06 Thread Richard Schwerdtfeger
Jamie,
 
I thought I addressed this before: The HTML AAM points to the ARIA core mapping specification now. They will implement what we have. One of the reasons ARIA in HTML is being held up is for us. The plan is for the host language platforms to use as much of the ARIA spec. as possible to avoid duplication of effort. Here is the link to the spec.: http://rawgit.com/w3c/aria/master/html-aam/html-aam.html
 
If you go down to the form element mapping you will see it says "Use WAI-ARIA mapping"
 
So, for backward compatibility you test for both the IA2 form role and all ARIA 1.1 and HTML 5.2 level browsers support the IA2_ROLE_LANDMARK for all landmarks and use the xml-roles object attribute to get the landmark type, ... in this case "form".
 
Rich
 
Rich Schwerdtfeger
 
 
- Original message -From: James Teh <ja...@nvaccess.org>To: Richard Schwerdtfeger/Austin/IBM@IBMUS, surkov.alexan...@gmail.com, ble...@freedomscientific.com, jdi...@igalia.comCc: accessibility-...@lists.linux-foundation.orgSubject: Re: Form role mappingDate: Tue, Sep 6, 2016 6:15 PM 
Hi Rich,
 
I've already stated my view on this:
 
 
I understand the reason for the use of the landmark role for role="form". However, I disagree with the HTML form element being mapped to the landmark role because semantics are lost. The fact that something is a form has more semantic value than just being a landmark. Still, if the spec already requires this, I guess we have little choice but to comply at this stage. 

 At the end of the day, I'm not sure why this is still an open question, since it seems that the spec groups have already made a decision on this: 
The HTML the form element now uses the ARIA mappings for the form role. See "Use WAI-ARIA mapping” under the form element. This is for all platforms.In other words, we can't comply with the spec unless we do as you suggest, so there is no other choice. There is no point in discussing this further.Thanks,Jamie 
On 7/09/2016 5:54 AM, Richard Schwerdtfeger wrote:
Jamie, Alex, Brett,
 
We need to reach consensus on the  element and role="form" mapping.
 
Can we agree on the following? :
 
1. that the IA2 IDL supports IA2_ROLE_LANDMARK and IA2_ROLE_FORM (so that old versions of FF and other applications using the form role can still work with ATs)
2. For Firefox updates here on out the  element and role="form" map to IA2_ROLE_LANDMARK and xml-roles="form"
 
This way AT vendors can check if something is a landmark to determine if something is a landmark and then expose xml-roles="form"
 
Eventually, it would be better to not have to make an exception for the Form role when all the other landmark roles are represented as IA2_ROLE_LANDMARK with xml-roles="form"
 
This and the other discussion items of the last 2 weeks are holding up 3 working groups - ARIA, HTML, and SVG.
 
Rich Schwerdtfeger 

--James TehExecutive Director, NV Access LimitedPh +61 7 3149 3306www.nvaccess.orgFacebook: http://www.facebook.com/NVAccessTwitter: @NVAccessSIP: ja...@nvaccess.org
 

___
Accessibility-ia2 mailing list
Accessibility-ia2@lists.linuxfoundation.org
https://lists.linuxfoundation.org/mailman/listinfo/accessibility-ia2


Re: [Accessibility-ia2] Agreement on concatenation of aria-describedby and aria-errormessage relationships

2016-09-06 Thread Richard Schwerdtfeger
I think Dominic's suggestion on an interface tester with bit flags works well.
 
Rich
 
Rich Schwerdtfeger
 
 
- Original message -From: James Teh <ja...@nvaccess.org>To: Richard Schwerdtfeger/Austin/IBM@IBMUS, surkov.alexan...@gmail.com, ble...@freedomscientific.com, jdi...@igalia.comCc: accessibility-...@lists.linux-foundation.orgSubject: Re: Agreement on concatenation of aria-describedby and aria-errormessage relationshipsDate: Tue, Sep 6, 2016 7:19 PM 
Fair enough. Thanks for the clear reasoning.
 
My one remaining concern is performance, but we will clearly need to find an alternative technical solution to this problem. In short, not concatenating means that for every focus event, we need to check for the invalid state plus an errormessage relation and then, if one is found, walk the tree for the target to gather the message. The latter in particular could be unacceptably slow. 

On 7/09/2016 6:35 AM, Richard Schwerdtfeger wrote:
 
The ARIA working group is against concatenating the description and relationship strings. I will try to summarize:
 
Specifically, concatenation by browsers could:
 
Defeat the purposes of aria-errormessage. The aria-errormessage relationship is designed to ensure assistive technology users are as aware of error messages as other users and to enable them to distinguish between error messages and field descriptions. The constraints of ARIA 1.0, and every other accessibility standard and API that preceded it, have forced developers to blend error messages and field descriptions. This blending has long inhibited both the perception and understanding of error messages, which are critical to effective operation of many user interfaces.increase cognitive load for users when errors are present. Especially for screen reader users, we already have severe challenges with excess verbosity that forces the user to expend energy sorting out the most important aspects of screen reader feedback. Concatenating potentially very disparate content in this manner would aggravate the verbosity problem.Reduce assistive technology flexibility. Part of the power of ARIA is that it gives assistive technologies the ability to present content in the manner best suited for their target audiences. When browsers eliminate semantically relevant distinctions, this type of flexibility is diminished. If this concatenation were performed, it would essentially eliminate the semantic distinctions.  If an assistive technology developer wanted to present the field description separate from the error messages, the developer would be forced to ignore the browser-computed description when error messages are present and reconstruct the description computation within the assistive technology.Lead either browsers or authors to devise their own string-based tokenization capability. Because aria-errormessage is a separate relationship, there will be designers and developers who want to ensure there is a method for parsing the string into its separate components. This would reduce the robustness of the solution and create both inconsistencies and complexity, especially when localizing implementations.Introduce serious problems with globalization: namely there is no clean way to concatenate the 2 strings in a way that will make sense. We cannot put in a space as some languages don't have them (Mandarin). Concatenating them together does not read properly.
 
The aria-errormessage relationship is intended to address long-standing accessibility issues faced by both developers and end users. The energy required to find effective remedies to those issues will definitely pay dividends for assistive technology users.
 
Would each of you weigh in. Again this is now holding up 3 working groups going on 3 weeks now.  Do we agree on not concatenating the two strings?
 
Rich
 
Rich Schwerdtfeger 

--James TehExecutive Director, NV Access LimitedPh +61 7 3149 3306www.nvaccess.orgFacebook: http://www.facebook.com/NVAccessTwitter: @NVAccessSIP: ja...@nvaccess.org
 

___
Accessibility-ia2 mailing list
Accessibility-ia2@lists.linuxfoundation.org
https://lists.linuxfoundation.org/mailman/listinfo/accessibility-ia2


Re: [Accessibility-ia2] Reverse relationships

2016-09-06 Thread Richard Schwerdtfeger
Jamie,
 
 
Well you can add reverse relationships later if it becomes an issue. The only problem with adding it later is you will also then need to test if that reverse relation ship exists and what to do with older browsers that won't have the relationship.
 
Rich
 
Rich Schwerdtfeger
 
 
- Original message -From: James Teh <ja...@nvaccess.org>To: Richard Schwerdtfeger/Austin/IBM@IBMUS, surkov.alexan...@gmail.com, ble...@freedomscientific.com, jdi...@igalia.comCc: accessibility-...@lists.linux-foundation.orgSubject: Re: Reverse relationshipsDate: Tue, Sep 6, 2016 7:34 PM 
As I noted previously:
 
 
5. Reverse relations may well be useful in the future. However, if they're a potential perf problem, I agree it makes sense to wait until we have a use case, so long as implementers accept that this use case may one day arise. 

 Right now, we have no plans to implement a "jump to field for error message" command or similar. Perhaps we will one day, but it seems flawed to sacrifice performance for something no one is using yet.Jamie 
On 7/09/2016 5:56 AM, Richard Schwerdtfeger wrote:
We need agreement:
 
Should the error message and details relationships have reverse mappings?
 
Rich
 
Rich Schwerdtfeger 

--James TehExecutive Director, NV Access LimitedPh +61 7 3149 3306www.nvaccess.orgFacebook: http://www.facebook.com/NVAccessTwitter: @NVAccessSIP: ja...@nvaccess.org
 

___
Accessibility-ia2 mailing list
Accessibility-ia2@lists.linuxfoundation.org
https://lists.linuxfoundation.org/mailman/listinfo/accessibility-ia2


Re: [Accessibility-ia2] Bitmask for rare accessibility attributes

2016-09-06 Thread Richard Schwerdtfeger
That makes sense to me. 
Rich Schwerdtfeger
 
 
- Original message -From: Dominic Mazzoni via Accessibility-ia2 Sent by: accessibility-ia2-boun...@lists.linuxfoundation.orgTo: accessibility-...@lists.linux-foundation.orgCc:Subject: [Accessibility-ia2] Bitmask for rare accessibility attributesDate: Tue, Sep 6, 2016 5:42 PM 
One of the objections Jamie brought up to making aria-errormessage an additional interface is that it increases the number of interfaces AT needs to call on every single accessible. I've also thought about this same issue, as the number of nodes in an average web page continues to grow along with the number of interfaces in IA2.
 
What would folks think of adding some sort of bitmask to allow AT to quickly test for the presence of lots of properties at the same time? Something like:
 
HRESULT propertyBitmask([out, retval] IA2PropertyBitmask *bitmask)
 
enum   IA2PropertyBitmask { 
  IA2_HAS_NAME = 0x01,
  IA2_HAS_DESCRIPTION = 0x02,
  IA2_HAS_ERRORMESSAGE = 0x04,  ...

}
 
One could imagine variants of this, for example AT could fill in the bitmask with properties it's interested in, and the browser would only have to compute those.
 
- Dominic
 
___Accessibility-ia2 mailing listAccessibility-ia2@lists.linuxfoundation.orghttps://lists.linuxfoundation.org/mailman/listinfo/accessibility-ia2
 

___
Accessibility-ia2 mailing list
Accessibility-ia2@lists.linuxfoundation.org
https://lists.linuxfoundation.org/mailman/listinfo/accessibility-ia2


[Accessibility-ia2] Agreement on concatenation of aria-describedby and aria-errormessage relationships

2016-09-06 Thread Richard Schwerdtfeger
 
The ARIA working group is against concatenating the description and relationship strings. I will try to summarize:
 
Specifically, concatenation by browsers could:
 
Defeat the purposes of aria-errormessage. The aria-errormessage relationship is designed to ensure assistive technology users are as aware of error messages as other users and to enable them to distinguish between error messages and field descriptions. The constraints of ARIA 1.0, and every other accessibility standard and API that preceded it, have forced developers to blend error messages and field descriptions. This blending has long inhibited both the perception and understanding of error messages, which are critical to effective operation of many user interfaces.increase cognitive load for users when errors are present. Especially for screen reader users, we already have severe challenges with excess verbosity that forces the user to expend energy sorting out the most important aspects of screen reader feedback. Concatenating potentially very disparate content in this manner would aggravate the verbosity problem.Reduce assistive technology flexibility. Part of the power of ARIA is that it gives assistive technologies the ability to present content in the manner best suited for their target audiences. When browsers eliminate semantically relevant distinctions, this type of flexibility is diminished. If this concatenation were performed, it would essentially eliminate the semantic distinctions.  If an assistive technology developer wanted to present the field description separate from the error messages, the developer would be forced to ignore the browser-computed description when error messages are present and reconstruct the description computation within the assistive technology.Lead either browsers or authors to devise their own string-based tokenization capability. Because aria-errormessage is a separate relationship, there will be designers and developers who want to ensure there is a method for parsing the string into its separate components. This would reduce the robustness of the solution and create both inconsistencies and complexity, especially when localizing implementations.Introduce serious problems with globalization: namely there is no clean way to concatenate the 2 strings in a way that will make sense. We cannot put in a space as some languages don't have them (Mandarin). Concatenating them together does not read properly.
 
The aria-errormessage relationship is intended to address long-standing accessibility issues faced by both developers and end users. The energy required to find effective remedies to those issues will definitely pay dividends for assistive technology users.
 
Would each of you weigh in. Again this is now holding up 3 working groups going on 3 weeks now.  Do we agree on not concatenating the two strings?
 
Rich
 
Rich Schwerdtfeger

___
Accessibility-ia2 mailing list
Accessibility-ia2@lists.linuxfoundation.org
https://lists.linuxfoundation.org/mailman/listinfo/accessibility-ia2


[Accessibility-ia2] Reverse relationships

2016-09-06 Thread Richard Schwerdtfeger
We need agreement:
 
Should the error message and details relationships have reverse mappings?
 
Rich
 
Rich Schwerdtfeger

___
Accessibility-ia2 mailing list
Accessibility-ia2@lists.linuxfoundation.org
https://lists.linuxfoundation.org/mailman/listinfo/accessibility-ia2


Re: [Accessibility-ia2] IA2 Role Landmark

2016-08-29 Thread Richard Schwerdtfeger
Jamie, Alex,
 
There is far too much resistance to concatenating the description with the error message. It will never carry with the working group. I am sorry. Right now we are holding up ARIA in HTML in ARIA.
 
Can we agree:
 
1. For the Firefox mapping of the form element, and ARIA 1.1 form role, IA2_ROLE_LANDMARK is exposed with xml-roles="form"
2. IA2_ROLE_FORM will not be deprecated for backward compatibility
3. We expose IA2_RELATION_DETAILS and IA2_RELATIONSHIP_ERROR_MESSAGE - It that you both agreed on separate relationships and these were the names Alex suggested.
 
Beyond that I need an answer on the reverse relationship that Joanie requested. It you can't agree I will leave them out of the IA2 spec. I do believe that Joanie might implement the reverse relationship for her platform but I have not asked. Joanie?
 
Alex, would you please send me an updated IDL for IA2?
 
Regards,
Rich
Rich Schwerdtfeger
 
 
- Original message -From: Rich Schwerdtfeger Sent by: accessibility-ia2-boun...@lists.linuxfoundation.orgTo: Alexander Surkov Cc: Joseph Scheuhammer , Stefan Schnabel , Steven Faulkner , IA2 List , ARIA Working Group Subject: Re: [Accessibility-ia2] IA2 Role LandmarkDate: Sun, Aug 28, 2016 7:20 AM I would also argue that, today, navigating a web page should be by regional landmarks first. They create a table of contents for the page and we advise all IBM developers to ensure all content is contained within a landmark. This way content is not orphaned. To that end a form should be treated as a landmark and should appear in the table of contents used for navigation by ATVs. 
 
We are way beyond one off landmarks (just a form) and starting with heading navigation today. 
 
Rich
Rich Schwerdtfeger
   

On Aug 25, 2016, at 10:51 AM, Rich Schwerdtfeger  wrote: 


Well it is used by the most pervasive apps on the planet using IA2 already. Chrome, FF, and eclipse-based apps.Sent from my iPhone
On Aug 25, 2016, at 10:45 AM, Alexander Surkov  wrote: 
I definitely agree that IA2 needs a flexible mechanism to expose roles, I'm just not sure it should be xml-roles object attribute.
 
On Thu, Aug 25, 2016 at 11:15 AM, Rich Schwerdtfeger  wrote:

Alex, those object attributes should have been included in IA2 a long time ago. I in no way see these as a hack. Eclipse uses them too.Sent from my iPhone
On Aug 25, 2016, at 9:49 AM, Alexander Surkov  wrote: 
This is true, however xml-roles is not standard attribute in IA2, it's rather a browser specific hack to expose the semantics, that otherwise was missed. So if the API provides a way to expose an element semantics more fully, then I'd say it's the way to go.Having said that, I'm also concerned about backward-compatibility issue.
 
On Thu, Aug 25, 2016 at 10:37 AM, Joanmarie Diggs  wrote:

Sorry for being spammy, but with respect to the loss of semantics: Thetype of landmark is still being exposed via object attribute. So I'llstill know if an ATK_ROLE_LANDMARK is a form, or navigation, or 
On 08/25/2016 10:24 AM, Joanmarie Diggs wrote:> Hi Alex, all.>> I don't recall saying "kill the form role" in ATK. We have no plans to> deprecate ATK_ROLE_FORM. Instead, I believe I said something along the> lines of the following:>> Q: Should HTML's form element be treated like a landmark for the>    purposes of navigation?>> If Yes: Map it to ATK_ROLE_LANDMARK> If No: Continue mapping it to ATK_ROLE_FORM>> --joanie>> On 08/25/2016 10:08 AM, Alexander Surkov wrote:>> I don't think Jamie argues that FORM is not a landmark. The point is>> that FORM is a form and also a landmark. IA2 provides a special FORM>> role, which is used both for ARIA and HTML currently, and adopted by>> browsers and screen readers. If we use weaker role for forms, then we loose semantics as Jamie>> pointed out, and we make a not backward compatible change. All JAWS and>> other commercial screen reader users will have to buy a new screen>> reader version. ATK gained this role, because it doesn't have a mechanism to fetch all>> landmarks on a page other than query it by role. And thus they are ok to>> sacrifice ATK form role for performance reasons I think. Note, ATK world>> doesn't have so acute problem of backward compatibility as IA2 has, so>> they have a larger room for changes. IA2 landmark role is a ATK toll to>> keep IA2 compatible with, this is a primary reason, if I do understand>> that right. However I'm not confident too that we should take ATK path>> and kill a form role too. On Thu, Aug 25, 2016 at 3:34 AM, Schnabel, Stefan>> > wrote:     Hi James,     __ __     currently Jaws treats forms like 

Re: [Accessibility-ia2] aria-details and aria-errormessage mapping [Issue-1044]

2016-08-25 Thread Richard Schwerdtfeger
Alex, Jamie,
 
We discussed this concatenation and Microsoft (Cynthia Shelly) and also Matt King and the more we look at concatenation the worse it looks. This impact more than IA2. It would effect the UIA Mapping for Edge and it creates problems for internationalization whereby we can't put a space in between for all languages.
 
Matt King (Facebook), will respond with another list of problems as will Cynthia. The whole point in the first place was to separate them out in all languages. Another reason is the size of the string that could result.
 
Rich
Rich Schwerdtfeger
 
 
- Original message -From: Richard Schwerdtfeger/Austin/IBMTo: surkov.alexan...@gmail.comCc: accessibility-ia2@lists.linuxfoundation.org, ja...@nvaccess.org, jdi...@igalia.comSubject: Re: aria-details and aria-errormessage mappingDate: Tue, Aug 23, 2016 3:21 PM 
Alex,
 
You can't expose aria-details as an action it is a relationship to the extended detail. Who said you were to implement an action? It is not a longdesc.
 
It could point to a details/summary which shows and hides the content itself. The target might be hidden by book readers until the user turns on a facility to show the extended description.
 
 
Here is an example:
 

 

 Jamie, are we going with a new relation for aria-details or can you think of another mechanism to expose it? Thanks.Alexander.
 
On Sun, Aug 21, 2016 at 8:46 PM, James Teh <ja...@nvaccess.org> wrote:

Hi Rich,
 
Thanks for the clear explanations; I really do appreciate it. Part of the confusion here is that I've unintentionally conflated aria-details with aria-errormessage.
 
Regarding aria-details, what you say absolutely makes sense. Given that, reading the details automatically as a simple message doesn't make sense anyway. Instead, we'd report their presence and let the user act, just as we do for longdesc now.
 
However, this same logic does not apply to errormessage. From an author perspective, I follow that we don't want error messages "stomping" on describedby. However, from an accessibility client perspective, I still don't see the difference. They could still be exposed as part of the description string if they're visible. Aside from being simpler, that would also be better for performance, since an AT doesn't then have to crawl the tree "stringifying" the error messages itself. Can you please explain why this approach doesn't work? Again, please note that I'm talking about the accessibility API mapping, *not* the ARIA attributes; I understand why errormessage and describedby are separate ARIA attributes for authors.Thanks.Jamie
 
On 20/08/2016 12:28 AM, Richard Schwerdtfeger wrote:
>I've already stated my view on this and asked several questions, but it seems key decisions have already been made, despite a lack of clarification around the concerns I've raised. >Given that this has basically become a circular time sink of an argument, I'll provide a final summary of my thoughts.>1. With regard to stringification, I still haven't seen a single solid justification for why errormessage and details are different to description from a user perspective. It's been argued that >users should be able to get to the content and read it in its full semantic glory, but no one has pointed out a use case for why that is actually necessary for, say, an error message. Surely, >the desired UX for a screen reader is that it should read the error message when it appears, not force the user to press some key to jump there and review it. If we want to read the >message, we need to stringify it... and crawling the tree to stringify it ourselves is going to be a hideous perf problem.
 
James,
 
I appreciate your willingness to work with us on this. However, let me provide you with the full picture.
 
1. Extended descriptions, referenced by aria-details was requested by the digital publishing industry. The extended description can have all kinds of markup in it and not just HTML: ChemML, MathML, SVG drawings, etc. It is intended as an extended, and sometimes alternative content to better illustrate what is being referenced. For these reasons it is essential that we *always* preserve content. In fact the stringification in many cases could be completely useless to a screen reader user. Also, for these reasons the intent is for it to be visible and not hidden as aria-describedby often is as it must be accessible to all users and not just the blind. Furthermore, there will be instances where the content will be contained within an IFrame within a details/summary element. The big thing here is stringification is simply the wrong thing to do and it must not happen in the browsers for extended descriptions. 
 
The second thing you need to understand is the aria-details attribute was created after months of fighting between browser vendors and people in the accessibility community over longdesc. We don't want to open up that pandora's box again. This is the solution tha

Re: [Accessibility-ia2] aria-details and aria-errormessage mapping

2016-08-24 Thread Richard Schwerdtfeger
Well, If you had an error message I can certainly see the need for the user to, after they have gone to the error message, go back to the associated control to fix the error. ... aria-details reverse relationship, I don't believe, is as critical.  We do not, however, put normative requirements on ATVs in terms of the user experience.
 
Rich
 
Rich Schwerdtfeger
 
 
- Original message -From: Joanmarie Diggs <jdi...@igalia.com>To: Richard Schwerdtfeger/Austin/IBM@IBMUSCc: accessibility-ia2@lists.linuxfoundation.org, cl...@alum.mit.eduSubject: Re: [Accessibility-ia2] aria-details and aria-errormessage mappingDate: Wed, Aug 24, 2016 1:50 PM 
Hi Rich.My previously-stated [1] position has not changed, namely:IF ATs will be expected to provide navigation between error messages andelements with errors regardless of circumstances, THEN I think we needthe reverse relationship because doing a complete tree dive looking forthe element which points to the error is not reasonable.On the other hand, if my scenario is so artificial that it would neverhappen, then I'm fine with having to keep track of the field beforemoving the user to the error.Whether or not ATs will be expected to provide such navigation, I couldnot tell you. Once we know that answer, you can plug it into the quotedstatement to get my response. ;)[1]https://lists.linuxfoundation.org/pipermail/accessibility-ia2/2016-August/002064.html--joanieOn 08/24/2016 02:26 PM, Richard Schwerdtfeger wrote:> These were the original relation names for error message and details>  > IA2_RELATION_DETAILS> IA2_RELATION_ERROR_MESSAGE>  > I also have these relationships for ATK/ATSPI:> RELATION_DETAILS> RELATION_ERROR_MESSAGE>  > They are listed in this branch I am working on:> https://rawgit.com/w3c/aria/action2102/core-aam/core-aam.html>  > Unless stated otherwise these are what I am putting in the spec. Joanie,> I need you an Jamie to settle on whether there is a reverse relationship.>  > I have opened an issue against the name and description spec. regarding> concatenation: https://www.w3.org/WAI/ARIA/track/issues/1044>  > I have included Joseph on CC so that he is aware of the name and> description issue.>> Rich Schwerdtfeger>  >  >>     - Original message ->     From: Richard Schwerdtfeger/Austin/IBM@IBMUS>     Sent by: accessibility-ia2-boun...@lists.linuxfoundation.org>     To: jdi...@igalia.com>     Cc: accessibility-ia2@lists.linuxfoundation.org>     Subject: Re: [Accessibility-ia2] aria-details and aria-errormessage>     mapping>     Date: Wed, Aug 24, 2016 10:01 AM>      >     ok.>      >     So, Alex, please provide me the name of the two IA2 relationships>     fore details and error message? I will work with joseph and amelia>     to look at concatenation of error messages in the description.>      >     Also, Joanie expressed a desire to have reverse relationships for>     details and error message. I would like you all to give a definitive>     answer on that. If you decide to go with a reverse relationship then>     I will need the the names for the spec.>      >     Keep in mind that after IA2 and ATK/ATSPI we also have to deal with>     UIA and MacOSX.>      >     Regards,>     Rich>>     Rich Schwerdtfeger>      >      >>         - Original message ->         From: Joanmarie Diggs <jdi...@igalia.com>>         To: Richard Schwerdtfeger/Austin/IBM@IBMUS>         Cc: ja...@nvaccess.org,>         accessibility-ia2@lists.linuxfoundation.org,>         surkov.alexan...@gmail.com>         Subject: Re: aria-details and aria-errormessage mapping>         Date: Wed, Aug 24, 2016 9:52 AM>          >         Hey Rich.>>         On matters where I have no strong opinion, but Jamie does, I>         defer to>         Jamie. Mapping of aria-details and aria-errormessage for my platform>         falls into this category, at least currently. Let's suck it and see.>>         --joanie>>         On 08/24/2016 10:39 AM, Richard Schwerdtfeger wrote:>         > Alright. I am looking at the ARIA spec. and it does not preclude>         > concatenating the strings for error messages. Our name and>         description>         > spec. will take a hit as will the SVG a11y mapping spec. I>         will need to>         > discuss this with Joseph Scheuhammer. Joanie do you support James'>         > rational for concatenation?>         >  >         > We do need separate relationships on the platform for details,>         > descriptions, and error messages.>         >  >         > Rich>         >>         >>         > Rich Schwerdtfeger>         >  >         >  >         >>         >     - Original message ->        

Re: [Accessibility-ia2] aria-details and aria-errormessage mapping

2016-08-24 Thread Richard Schwerdtfeger
These were the original relation names for error message and details
 
IA2_RELATION_DETAILS
IA2_RELATION_ERROR_MESSAGE
 
I also have these relationships for ATK/ATSPI:
RELATION_DETAILS
RELATION_ERROR_MESSAGE
 
They are listed in this branch I am working on: https://rawgit.com/w3c/aria/action2102/core-aam/core-aam.html
 
Unless stated otherwise these are what I am putting in the spec. Joanie, I need you an Jamie to settle on whether there is a reverse relationship.
 
I have opened an issue against the name and description spec. regarding concatenation: https://www.w3.org/WAI/ARIA/track/issues/1044
 
I have included Joseph on CC so that he is aware of the name and description issue. Rich Schwerdtfeger
 
 
- Original message -From: Richard Schwerdtfeger/Austin/IBM@IBMUSSent by: accessibility-ia2-boun...@lists.linuxfoundation.orgTo: jdi...@igalia.comCc: accessibility-ia2@lists.linuxfoundation.orgSubject: Re: [Accessibility-ia2] aria-details and aria-errormessage mappingDate: Wed, Aug 24, 2016 10:01 AM 
ok.
 
So, Alex, please provide me the name of the two IA2 relationships fore details and error message? I will work with joseph and amelia to look at concatenation of error messages in the description.
 
Also, Joanie expressed a desire to have reverse relationships for details and error message. I would like you all to give a definitive answer on that. If you decide to go with a reverse relationship then I will need the the names for the spec. 
 
Keep in mind that after IA2 and ATK/ATSPI we also have to deal with UIA and MacOSX.
 
Regards,
RichRich Schwerdtfeger
 
 
- Original message -From: Joanmarie Diggs <jdi...@igalia.com>To: Richard Schwerdtfeger/Austin/IBM@IBMUSCc: ja...@nvaccess.org, accessibility-ia2@lists.linuxfoundation.org, surkov.alexan...@gmail.comSubject: Re: aria-details and aria-errormessage mappingDate: Wed, Aug 24, 2016 9:52 AM 
Hey Rich.On matters where I have no strong opinion, but Jamie does, I defer toJamie. Mapping of aria-details and aria-errormessage for my platformfalls into this category, at least currently. Let's suck it and see.--joanieOn 08/24/2016 10:39 AM, Richard Schwerdtfeger wrote:> Alright. I am looking at the ARIA spec. and it does not preclude> concatenating the strings for error messages. Our name and description> spec. will take a hit as will the SVG a11y mapping spec. I will need to> discuss this with Joseph Scheuhammer. Joanie do you support James'> rational for concatenation?>  > We do need separate relationships on the platform for details,> descriptions, and error messages.>  > Rich>>> Rich Schwerdtfeger>  >  >>     - Original message ->     From: James Teh <ja...@nvaccess.org>>     To: Richard Schwerdtfeger/Austin/IBM@IBMUS>     Cc: accessibility-ia2@lists.linuxfoundation.org, jdi...@igalia.com,>     surkov.alexan...@gmail.com>     Subject: Re: aria-details and aria-errormessage mapping>     Date: Tue, Aug 23, 2016 8:02 PM>      >>     Hi Rich,>>      >     On 24/08/2016 5:14 AM, Richard Schwerdtfeger wrote:>>     1.There is only one method in each platform to place a>>     description. If you have describedby and errormessage>>     relationships which wins?>     Concatenate, which brings us to:>      >>     2. We cannot guarantee that concatenating them both into one big>>     description will make sense to the user as they were not designed>>     to work that way. Also, the user might want not want to listen to>>     them both together.>     If the field is invalid, we're going to read the error message>     anyway and it's going to be read as well as the description and any>     other info. The practical upshot is that we end up with the same>     result as concatenation.>      >>     3. Error messages are typically created as alerts as they pop up>>     and need to be spoken. So, the user will hear them. The issue is>>     which one belongs to which form element.>     When an invalid form element gets focus, I'm guessing it makes sense>     for the user to receive the error message. That requires it to be>     stringified.>      >>     4. We don't want to have the user agent have to stringify the text>>     either for performance reasons.>     It's more performant for a user agent to stringify than it is for an>     AT. Also, user agents are already stringifying aria-labelledby,>     aria-describedby, name from content, etc., so that argument doesn't>     really hold.>>      >>     So, I would not want you to stringify the error text. The only>>     times you will need to provide access to the error message is when>>     you:>>     1. Have an invalid element (aria-invalid)>     At which point we need to stringify it. I'm only suggesting that it>     be stringified by the UA 

Re: [Accessibility-ia2] aria-details and aria-errormessage mapping

2016-08-24 Thread Richard Schwerdtfeger
ok.
 
So, Alex, please provide me the name of the two IA2 relationships fore details and error message? I will work with joseph and amelia to look at concatenation of error messages in the description.
 
Also, Joanie expressed a desire to have reverse relationships for details and error message. I would like you all to give a definitive answer on that. If you decide to go with a reverse relationship then I will need the the names for the spec. 
 
Keep in mind that after IA2 and ATK/ATSPI we also have to deal with UIA and MacOSX.
 
Regards,
RichRich Schwerdtfeger
 
 
- Original message -From: Joanmarie Diggs <jdi...@igalia.com>To: Richard Schwerdtfeger/Austin/IBM@IBMUSCc: ja...@nvaccess.org, accessibility-ia2@lists.linuxfoundation.org, surkov.alexan...@gmail.comSubject: Re: aria-details and aria-errormessage mappingDate: Wed, Aug 24, 2016 9:52 AM 
Hey Rich.On matters where I have no strong opinion, but Jamie does, I defer toJamie. Mapping of aria-details and aria-errormessage for my platformfalls into this category, at least currently. Let's suck it and see.--joanieOn 08/24/2016 10:39 AM, Richard Schwerdtfeger wrote:> Alright. I am looking at the ARIA spec. and it does not preclude> concatenating the strings for error messages. Our name and description> spec. will take a hit as will the SVG a11y mapping spec. I will need to> discuss this with Joseph Scheuhammer. Joanie do you support James'> rational for concatenation?>  > We do need separate relationships on the platform for details,> descriptions, and error messages.>  > Rich>>> Rich Schwerdtfeger>  >  >>     - Original message ->     From: James Teh <ja...@nvaccess.org>>     To: Richard Schwerdtfeger/Austin/IBM@IBMUS>     Cc: accessibility-ia2@lists.linuxfoundation.org, jdi...@igalia.com,>     surkov.alexan...@gmail.com>     Subject: Re: aria-details and aria-errormessage mapping>     Date: Tue, Aug 23, 2016 8:02 PM>      >>     Hi Rich,>>      >     On 24/08/2016 5:14 AM, Richard Schwerdtfeger wrote:>>     1.There is only one method in each platform to place a>>     description. If you have describedby and errormessage>>     relationships which wins?>     Concatenate, which brings us to:>      >>     2. We cannot guarantee that concatenating them both into one big>>     description will make sense to the user as they were not designed>>     to work that way. Also, the user might want not want to listen to>>     them both together.>     If the field is invalid, we're going to read the error message>     anyway and it's going to be read as well as the description and any>     other info. The practical upshot is that we end up with the same>     result as concatenation.>      >>     3. Error messages are typically created as alerts as they pop up>>     and need to be spoken. So, the user will hear them. The issue is>>     which one belongs to which form element.>     When an invalid form element gets focus, I'm guessing it makes sense>     for the user to receive the error message. That requires it to be>     stringified.>      >>     4. We don't want to have the user agent have to stringify the text>>     either for performance reasons.>     It's more performant for a user agent to stringify than it is for an>     AT. Also, user agents are already stringifying aria-labelledby,>     aria-describedby, name from content, etc., so that argument doesn't>     really hold.>>      >>     So, I would not want you to stringify the error text. The only>>     times you will need to provide access to the error message is when>>     you:>>     1. Have an invalid element (aria-invalid)>     At which point we need to stringify it. I'm only suggesting that it>     be stringified by the UA if all conditions are met; invalid,>     visible, etc.>>     2. An error message is provided.>     At which point we also need to stringify it, but in fairness, this>     will probably be an alert anyway, so I'm less worried about this one.>>     Jamie>      >     -->     James Teh>     Executive Director, NV Access Limited>     Ph +61 7 3149 3306>     www.nvaccess.org <http://www.nvaccess.org>>     Facebook: http://www.facebook.com/NVAccess>     Twitter: @NVAccess>     SIP: ja...@nvaccess.org <mailto:ja...@nvaccess.org>>>  >  
 

___
Accessibility-ia2 mailing list
Accessibility-ia2@lists.linuxfoundation.org
https://lists.linuxfoundation.org/mailman/listinfo/accessibility-ia2


Re: [Accessibility-ia2] aria-details and aria-errormessage mapping

2016-08-21 Thread Richard Schwerdtfeger
Hi James,
 
If you wanted to reuse the existing description relationships (with a separate description relationship instance) and place an object attribute on the error message target to indicate that it is an error message I think that makes perfect sense. It just can't be stringified. However, the errormessage is not to be stringified as the content must be visible and it will often have content in it, including links, that the user may need to navigate to to get help about the error. The aria referenced error messages are all required to be visible to apply the relatinship. 
 
Rich Schwerdtfeger
 
 
- Original message -From: James Teh <ja...@nvaccess.org>To: Richard Schwerdtfeger/Austin/IBM@IBMUSCc: accessibility-ia2@lists.linuxfoundation.org, jdi...@igalia.com, surkov.alexan...@gmail.comSubject: Re: aria-details and aria-errormessage mappingDate: Sun, Aug 21, 2016 7:46 PM 
Hi Rich,
 
Thanks for the clear explanations; I really do appreciate it. Part of the confusion here is that I've unintentionally conflated aria-details with aria-errormessage.
 
Regarding aria-details, what you say absolutely makes sense. Given that, reading the details automatically as a simple message doesn't make sense anyway. Instead, we'd report their presence and let the user act, just as we do for longdesc now.
 
However, this same logic does not apply to errormessage. From an author perspective, I follow that we don't want error messages "stomping" on describedby. However, from an accessibility client perspective, I still don't see the difference. They could still be exposed as part of the description string if they're visible. Aside from being simpler, that would also be better for performance, since an AT doesn't then have to crawl the tree "stringifying" the error messages itself. Can you please explain why this approach doesn't work? Again, please note that I'm talking about the accessibility API mapping, *not* the ARIA attributes; I understand why errormessage and describedby are separate ARIA attributes for authors.Thanks.Jamie 
On 20/08/2016 12:28 AM, Richard Schwerdtfeger wrote:
>I've already stated my view on this and asked several questions, but it seems key decisions have already been made, despite a lack of clarification around the concerns I've raised. >Given that this has basically become a circular time sink of an argument, I'll provide a final summary of my thoughts.>1. With regard to stringification, I still haven't seen a single solid justification for why errormessage and details are different to description from a user perspective. It's been argued that >users should be able to get to the content and read it in its full semantic glory, but no one has pointed out a use case for why that is actually necessary for, say, an error message. Surely, >the desired UX for a screen reader is that it should read the error message when it appears, not force the user to press some key to jump there and review it. If we want to read the >message, we need to stringify it... and crawling the tree to stringify it ourselves is going to be a hideous perf problem.
 
James,
 
I appreciate your willingness to work with us on this. However, let me provide you with the full picture.
 
1. Extended descriptions, referenced by aria-details was requested by the digital publishing industry. The extended description can have all kinds of markup in it and not just HTML: ChemML, MathML, SVG drawings, etc. It is intended as an extended, and sometimes alternative content to better illustrate what is being referenced. For these reasons it is essential that we *always* preserve content. In fact the stringification in many cases could be completely useless to a screen reader user. Also, for these reasons the intent is for it to be visible and not hidden as aria-describedby often is as it must be accessible to all users and not just the blind. Furthermore, there will be instances where the content will be contained within an IFrame within a details/summary element. The big thing here is stringification is simply the wrong thing to do and it must not happen in the browsers for extended descriptions. 
 
The second thing you need to understand is the aria-details attribute was created after months of fighting between browser vendors and people in the accessibility community over longdesc. We don't want to open up that pandora's box again. This is the solution that has come to place. aria-describedby simply does not meet the needs of digital publishing community. What is more they plan to support it in their digital books once a mechanism is put in place, within browsers, to show and hide content reference by aria-details in order to preserve the needs of publishers who don't want extended descriptions rendered by default. We definitely, don't want this functionality applied to aria-describedby.
 
>2. Having errormessage/details as completely separate concepts from description means an AT now

Re: [Accessibility-ia2] aria-details and aria-errormessage mapping

2016-08-19 Thread Richard Schwerdtfeger
>I've already stated my view on this and asked several questions, but it seems key decisions have already been made, despite a lack of clarification around the concerns I've raised. >Given that this has basically become a circular time sink of an argument, I'll provide a final summary of my thoughts.>1. With regard to stringification, I still haven't seen a single solid justification for why errormessage and details are different to description from a user perspective. It's been argued that >users should be able to get to the content and read it in its full semantic glory, but no one has pointed out a use case for why that is actually necessary for, say, an error message. Surely, >the desired UX for a screen reader is that it should read the error message when it appears, not force the user to press some key to jump there and review it. If we want to read the >message, we need to stringify it... and crawling the tree to stringify it ourselves is going to be a hideous perf problem.
 
James,
 
I appreciate your willingness to work with us on this. However, let me provide you with the full picture.
 
1. Extended descriptions, referenced by aria-details was requested by the digital publishing industry. The extended description can have all kinds of markup in it and not just HTML: ChemML, MathML, SVG drawings, etc. It is intended as an extended, and sometimes alternative content to better illustrate what is being referenced. For these reasons it is essential that we *always* preserve content. In fact the stringification in many cases could be completely useless to a screen reader user. Also, for these reasons the intent is for it to be visible and not hidden as aria-describedby often is as it must be accessible to all users and not just the blind. Furthermore, there will be instances where the content will be contained within an IFrame within a details/summary element. The big thing here is stringification is simply the wrong thing to do and it must not happen in the browsers for extended descriptions. 
 
The second thing you need to understand is the aria-details attribute was created after months of fighting between browser vendors and people in the accessibility community over longdesc. We don't want to open up that pandora's box again. This is the solution that has come to place. aria-describedby simply does not meet the needs of digital publishing community. What is more they plan to support it in their digital books once a mechanism is put in place, within browsers, to show and hide content reference by aria-details in order to preserve the needs of publishers who don't want extended descriptions rendered by default. We definitely, don't want this functionality applied to aria-describedby.
 
>2. Having errormessage/details as completely separate concepts from description means an AT now has two more things it has to fetch for *every single object that gets focus*. This is >yet another perf problem.
 
Error messages are not the same as extended descriptions and we don't want the same functionality to duplicated with error messages as I described above. The need for error messages arose many major companies rendering visible, popup, error messages for each invalid form entry. They want to have people with disabilities get access to each error messages associated with the invalid control and they want to also have access to the hidden aria-describedby help information they provide for that control. So, stomping on one in favor of the other is a very bad experience. They are indeed distinct and separate concepts.
>3. That said, since the no description/no stringification decision has already been made (despite the concerns above which I raised months ago), relations is the only mapping that >doesn't violate the spec.
 
See above. I hope I have addressed most of your concerns.
>4. Since we're not stringifying as part of description, it does not make sense to map these to the describedBy relation. Thus, we need two new relations.
 
ok
>5. Reverse relations may well be useful in the future. However, if they're a potential perf problem, I agree it makes sense to wait until we have a use case, so long as implementers accept >that this use case may one day arise.
Joanie Diggs asked for reverse relationships as she wants to be able to traverse back to the source. She is on CC and will be back from vacation next week.
 
Best,
Rich
Rich Schwerdtfeger
 
 
- Original message -From: James Teh <ja...@nvaccess.org>To: Richard Schwerdtfeger/Austin/IBM@IBMUS, surkov.alexan...@gmail.comCc: accessibility-ia2@lists.linuxfoundation.org, jdi...@igalia.comSubject: Re: aria-details and aria-errormessage mappingDate: Thu, Aug 18, 2016 9:45 PM 
Hi.
 I've already stated my view on this and asked several questions, but it seems key decisions have already been made, despite a lack of clarification around the concerns I've raised. Given that this has basically become a circular t

Re: [Accessibility-ia2] aria-details and aria-errormessage mapping

2016-08-18 Thread Richard Schwerdtfeger
We *cannot* map aria-errormessage or aria-details to a string description. That is absolutely prohibited in the aria specification. It is not to be stringified. Neither is aria-details. Also, in the aria spec. if aria-details and aria-describedby cannot be mapped separately aria-details takes precedence.
 
These are intended to be references so that we can also get access to the structural markup.
 
Now, if you are going to overload the description relationships we need something on the target that indicates they are an error or an extended description. We need to have the distinctions. Object attributes are an option.
 
Rich
 
Rich Schwerdtfeger
 
 
- Original message -From: Alexander Surkov <surkov.alexan...@gmail.com>To: Richard Schwerdtfeger/Austin/IBM@IBMUSCc: "accessibility-ia2@lists.linuxfoundation.org" <accessibility-ia2@lists.linuxfoundation.org>, James Teh <ja...@nvaccess.org>, Joanmarie Diggs <jdi...@igalia.com>Subject: Re: aria-details and aria-errormessage mappingDate: Fri, Aug 12, 2016 7:42 PM 
I'd love to hear Jamie on this honestly, but his wording was:"
To me, it sounds like errormessage just makes the rules slightly simplyto make life simpler for authors; errormessage isn't presented unlessinvalid is true, errormessage must be visible to be presented, etc. Thatmight be fair enough. However, that doesn't mean it's an entirelyfundamentally separate concept, and thus, there's a good argument formapping it to description in a11y APIs (with appropriate rules)."Do we a real example/scenario where AT has to know that a message on the screen is an error message, and this knowledge would improve the user experience?
 
On Wed, Aug 10, 2016 at 3:45 PM, Richard Schwerdtfeger <sch...@us.ibm.com> wrote:

Yes, we heard. So, we need to be able to differentiate an associated error message from a help descriptions. So, you could have a second aria-details relationship in the list of relationships as it would not be stringified (a necessity), BUT you would need to put something on the target ID container to indicate to the AT that it is an error message. Otherwise you need a different relationship. If you are not having reverse relationships and AT vendors would provide a mechanism to go back to the element that was invalid then you would be fine. The use cases we have seen in practices is that multiple form elements become invalid and each has an associated popup error message.
 
We cannot mix descriptions and error messages and the error messages must be visible to all users to be mapped.
 
Rich
 
Rich Schwerdtfeger
 
 
- Original message -From: Alexander Surkov <surkov.alexan...@gmail.com>
To: Richard Schwerdtfeger/Austin/IBM@IBMUSCc: "accessibility-ia2@lists.linuxfoundation.org" <accessibility-ia2@lists.linuxfoundation.org>, James Teh <ja...@nvaccess.org>, Joanmarie Diggs <jdi...@igalia.com>Subject: Re: aria-details and aria-errormessage mappingDate: Wed, Aug 10, 2016 12:48 PM 
Note, Jamie has been objecting against new relation for aria-errormessage [1].[1] https://lists.linuxfoundation.org/pipermail/accessibility-ia2/2016-April/002046.html
 
On Wed, Aug 10, 2016 at 8:33 AM, Alexander Surkov <surkov.alexan...@gmail.com> wrote:

All reverse relations go at performance/memory cost, I would introduce them iff AT needs them. I'm not sure I see a valid scenario, when they were useful, thus deferring a decision to Joanie and Jamie, who knows more about AT internal gear than me.
 
On Tue, Aug 9, 2016 at 4:58 PM, Richard Schwerdtfeger <sch...@us.ibm.com> wrote:

Those would be great. What would you have for reverse relationships?
 
Rich Schwerdtfeger
 
 
- Original message -From: Alexander Surkov <surkov.alexan...@gmail.com>To: "accessibility-ia2@lists.linuxfoundation.org" <accessibility-ia2@lists.linuxfoundation.org>, James Teh <ja...@nvaccess.org>, Joanmarie Diggs <jdi...@igalia.com>, Richard Schwerdtfeger/Austin/IBM@IBMUSCc:Subject: aria-details and aria-errormessage mappingDate: Tue, Aug 9, 2016 2:12 PM 
Hi.ARIA 1.1 got two relation-like attributes: aria-details [1] and aria-errormessage [2], used to connect an element with content providing extra info. Rich mentioned that these attributes are likely need new IAccessible2 relations to expose them, which sounds reasonable. If that's the case, then we should end up with something like: 
An object containing details for the target object.
IA2_RELATION_DETAILS
An object containing an error message for the target object.
IA2_RELATION_ERROR_MESSAGEThanks.Alex.

[1] https://www.w3.org/TR/wai-aria-1.1/#aria-details[2] https://www.w3.org/TR/wai-aria-1.1/#aria-errormessage
 
 
 

___
Accessibility-ia2 mailing list
Accessibility-ia2@lists.linuxfoundation.org
https://lists.linuxfoundation.org/mailman/listinfo/accessibility-ia2


Re: [Accessibility-ia2] aria-details and aria-errormessage mapping

2016-08-09 Thread Richard Schwerdtfeger
Those would be great. What would you have for reverse relationships?
 
Rich Schwerdtfeger
 
 
- Original message -From: Alexander Surkov <surkov.alexan...@gmail.com>To: "accessibility-ia2@lists.linuxfoundation.org" <accessibility-ia2@lists.linuxfoundation.org>, James Teh <ja...@nvaccess.org>, Joanmarie Diggs <jdi...@igalia.com>, Richard Schwerdtfeger/Austin/IBM@IBMUSCc:Subject: aria-details and aria-errormessage mappingDate: Tue, Aug 9, 2016 2:12 PM 
Hi.ARIA 1.1 got two relation-like attributes: aria-details [1] and aria-errormessage [2], used to connect an element with content providing extra info. Rich mentioned that these attributes are likely need new IAccessible2 relations to expose them, which sounds reasonable. If that's the case, then we should end up with something like: 
An object containing details for the target object.
IA2_RELATION_DETAILS
An object containing an error message for the target object.
IA2_RELATION_ERROR_MESSAGEThanks.Alex.

[1] https://www.w3.org/TR/wai-aria-1.1/#aria-details[2] https://www.w3.org/TR/wai-aria-1.1/#aria-errormessage
 

___
Accessibility-ia2 mailing list
Accessibility-ia2@lists.linuxfoundation.org
https://lists.linuxfoundation.org/mailman/listinfo/accessibility-ia2


Re: [Accessibility-ia2] Mapping of aria-errormessage for ATK/AT-SPI2 and IA2

2016-02-24 Thread Richard Schwerdtfeger
We want to separate out errors from help information. aria-errormessage only 
takes an IDREF.

> On Feb 24, 2016, at 5:14 PM, James Teh  wrote:
> 
> I thought aria-describedby could refer to multiple nodes. As such, I don't 
> follow why authors were "stuck" when they wanted both an error message and a 
> description. They could just put both in aria-describedby.
> 
> If you really do want errormessage to be treated as an entirely separate 
> thing, then I have to change my position on this: we need a new relation and 
> new events. If it's really such a new and separate thing, we don't have to 
> worry about existing AT not getting the benefit.
> 
> Sent from a mobile device
> 
>> On 25 Feb 2016, at 1:50 AM, Joseph Scheuhammer  wrote:
>> 
>> Part of the rationale for introducing aria-errormessage was that authors 
>> were already using aria-describedby for the error message, but were stuck 
>> when they wanted to provide a description separate from the error message. 
>> Thus, a reason for introducing aria-errormessage was to distinguish it from 
>> the description.  Consider also that error messages are transient, whereas 
>> descriptions are not.
>> 
>> Conflating the two at the AAPI level is counterproductive.
>> 
>>> On 2016-02-23 6:20 PM, Joanmarie Diggs wrote:
>>> Hey Jamie.
>>> 
>>> Yeah, we have a description property which is a string. Right now, I
>>> don't have a strong feeling either way about whether aria-errormessage's
>>> text belongs as part of that value. So if you think it should be there
>>> in addition to exposed via the relationship pair, I don't mind.
>>> 
>>> --joanie
>>> 
 On 02/23/2016 06:03 PM, James Teh wrote:
> Sounds great. I'm happy with this mapping.
> 
> Would this message be included in the concatenated description string
> for an object? I'm not sure if ATK has this, but in MSAA (and thus IA2),
> you can call the accDescription property and it provides the description
> as a string. Right now, that would include the text of anything listed
> in aria-describedby. I think it*should*  include the error message myself.
> 
> Jamie
> 
> On 24/02/2016 5:42 AM, Joanmarie Diggs wrote:
>>> Hey all.
>>> 
>>> We need to map aria-errormessage on the various platforms, including
>>> ATK/AT-SPI2 and IA2. Given the ongoing desire for cross-platform
>>> homogeneity, I'll toss out what I was thinking for my platform for
>>> consideration by IA2 folks.
>>> 
>>> Proposal: Connect the message to the element with the error via the
>>> RELATION_DESCRIBED_BY/RELATION_DESCRIPTION_FOR relation pair and expose
>>> "errormessage" as an object attribute.
>>> 
>>> Rationale:
>>> 
>>> 1. An error message provides descriptive information about an object.
>>> 
>>> 2. Exposure via a relation eliminates the need to tree dive to find
>>>the error.
>>> 
>>> 3. Accessible relations can have multiple targets, so this exposure
>>>does not stomp on a non-error description while at the same time
>>>eliminating the need for each platform to create a new relation
>>>type(s).
>>> 
>>> 4. The object attribute is needed to identify which target (if any)
>>>is an error message.
>>> 
>>> Thoughts?
>>> --joanie
>>> ___
>>> Accessibility-ia2 mailing list
>>> Accessibility-ia2@lists.linuxfoundation.org
>>> https://lists.linuxfoundation.org/mailman/listinfo/accessibility-ia2
> 
>> 
>> 
>> -- 
>> joseph.
>> 
>> 'Die Wahrheit ist Irgendwo da Draußen. Wieder.'
>>- C. Carter -
>> 
> 

___
Accessibility-ia2 mailing list
Accessibility-ia2@lists.linuxfoundation.org
https://lists.linuxfoundation.org/mailman/listinfo/accessibility-ia2


Re: [Accessibility-ia2] Mapping of aria-errormessage for ATK/AT-SPI2 and IA2

2016-02-24 Thread Richard Schwerdtfeger
Error messages may have additional content in there that needs greater semantic 
structure. For example, what if the error message had a link to a online help 
area about the topic. Converting it to a string would not work.

Rich
> On Feb 23, 2016, at 5:20 PM, Joanmarie Diggs  wrote:
> 
> Hey Jamie.
> 
> Yeah, we have a description property which is a string. Right now, I
> don't have a strong feeling either way about whether aria-errormessage's
> text belongs as part of that value. So if you think it should be there
> in addition to exposed via the relationship pair, I don't mind.
> 
> --joanie
> 
> On 02/23/2016 06:03 PM, James Teh wrote:
>> Sounds great. I'm happy with this mapping.
>> 
>> Would this message be included in the concatenated description string
>> for an object? I'm not sure if ATK has this, but in MSAA (and thus IA2),
>> you can call the accDescription property and it provides the description
>> as a string. Right now, that would include the text of anything listed
>> in aria-describedby. I think it *should* include the error message myself.
>> 
>> Jamie
>> 
>> On 24/02/2016 5:42 AM, Joanmarie Diggs wrote:
>>> Hey all.
>>> 
>>> We need to map aria-errormessage on the various platforms, including
>>> ATK/AT-SPI2 and IA2. Given the ongoing desire for cross-platform
>>> homogeneity, I'll toss out what I was thinking for my platform for
>>> consideration by IA2 folks.
>>> 
>>> Proposal: Connect the message to the element with the error via the
>>> RELATION_DESCRIBED_BY/RELATION_DESCRIPTION_FOR relation pair and expose
>>> "errormessage" as an object attribute.
>>> 
>>> Rationale:
>>> 
>>> 1. An error message provides descriptive information about an object.
>>> 
>>> 2. Exposure via a relation eliminates the need to tree dive to find
>>>the error.
>>> 
>>> 3. Accessible relations can have multiple targets, so this exposure
>>>does not stomp on a non-error description while at the same time
>>>eliminating the need for each platform to create a new relation
>>>type(s).
>>> 
>>> 4. The object attribute is needed to identify which target (if any)
>>>is an error message.
>>> 
>>> Thoughts?
>>> --joanie
>>> ___
>>> Accessibility-ia2 mailing list
>>> Accessibility-ia2@lists.linuxfoundation.org
>>> https://lists.linuxfoundation.org/mailman/listinfo/accessibility-ia2
>> 
> 
> 

___
Accessibility-ia2 mailing list
Accessibility-ia2@lists.linuxfoundation.org
https://lists.linuxfoundation.org/mailman/listinfo/accessibility-ia2


Re: [Accessibility-ia2] aria-colcount and aria-rowcount mapping, again

2016-01-04 Thread Richard Schwerdtfeger

Although it is possible to have 2 cells I don't think this even close to
the norm. Why would we we not just have the screen reader ask to go to a
row and column number? It is not difficult to ask the user agent to
navigate to compute the effective cell to the right and ask for the user
agent to navigate there. We can add a parameter that states to navigate to
the first non-empty cell to the ... or whatever algorithm we choose.

Rich


Rich Schwerdtfeger



From:   Dominic Mazzoni <dmazz...@google.com>
To: Richard Schwerdtfeger/Austin/IBM@IBMUS, James Teh
<ja...@nvaccess.org>
Cc: IAccessible2 mailing list
<accessibility-...@lists.linux-foundation.org>,
accessibility-ia2-boun...@lists.linuxfoundation.org
Date:   01/04/2016 10:47 AM
Subject:Re: [Accessibility-ia2] aria-colcount and aria-rowcount
mapping, again



Rich, I think the problem is, what if the table consists of just two cells,
(1, 1) and (999, 999) - the screen reader wants to go to the

Jamie, as an alternative, couldn't the screen reader try navigating to the
next / previous cell using the row, column index, but if that fails, fall
back on DOM navigation?

For example, given a current cell (x, y), if the user wants to go right -
to the next cell in the same row, try (x + 1, y) but if that's empty, use
the accessibility tree to navigate to the next sibling.

Similarly, given (x, y) if the user wants to go down - to the same column
in the next row, try (x, y + 1), but if that's empty, use the accessibility
tree to navigate to the next row, then try column x in that row, and if
that fails, navigate to the first cell in that row.

Anyway, I would be fine with also extending IAccessibleTableCell.


On Mon, Jan 4, 2016 at 6:51 AM Richard Schwerdtfeger <sch...@us.ibm.com>
wrote:
  Would it not be better to just navigate to a given row and column index?
  Why limit it to just the cell in a direction?


  Rich Schwerdtfeger

  James Teh ---01/03/2016 10:55:11 PM---On 29/12/2015 5:52 AM, Dominic
  Mazzoni via Accessibility-ia2 wrote: > Totally agreed that screen rea

  From: James Teh <ja...@nvaccess.org>
  To: Dominic Mazzoni <dmazz...@google.com>, IAccessible2 mailing list <
  accessibility-...@lists.linux-foundation.org>
  Date: 01/03/2016 10:55 PM
  Subject: Re: [Accessibility-ia2] aria-colcount and aria-rowcount mapping,
  again
  Sent by: accessibility-ia2-boun...@lists.linuxfoundation.org





  On 29/12/2015 5:52 AM, Dominic Mazzoni via Accessibility-ia2 wrote:
  > Totally agreed that screen readers need to be able to navigate from
  > cell to cell and fetch rows at a time. Note that the spec requires the
  > numbering to be sequential, so you don't need to worry about that.
  When I said sequential, I also meant contiguous; i.e. 1, 2, 3, not 1, 2,
  5.
  >
  > I'd like to point out that in vanilla HTML it's quite common for
  > tables to have missing cells already.
  Missing cells only towards the end of rows, never in the middle or at
  the start. So, you might not be able to move to the next cell at the end
  of an incomplete row, but that's okay because you've already seen all of
  the cells on that row. Conversely, if there are cells missing at the
  start or in the middle of a row, it may be impossible to get to other
  cells in the row.

  > Screen readers shouldn't have to do any extra work to deal with most
  > such tables because they already need to be able to handle missing
  > cells, so this wouldn't be any different.
  >
  See above. Start/middle gaps are a problem and I can't even think of a
  good way to handle this. This is why I am probably more for this
  solution:

  > The alternative proposal seems to be to export the ARIA attributes
  > and/or use group position and have the screen reader announce the ARIA
  > row and column indexes but otherwise explore the table from the DOM.

  > * Screen readers wouldn't be able to jump to a cell by row, column
  > index. (JAWS has a keystroke for this now.)
  Hmm. That certainly is a problem, yes.

  I guess another solution could be to extend IAccessibleTableCell to
  provide a way to get to the next cell in a given direction. I *think*
  that would solve the start/middle gap problem.

  Jamie

  --
  James Teh
  Executive Director, NV Access Limited
  Ph +61 7 3149 3306
  www.nvaccess.org
  Facebook: http://www.facebook.com/NVAccess



  Twitter: @NVAccess
  SIP: ja...@nvaccess.org



  ___
  Accessibility-ia2 mailing list
  Accessibility-ia2@lists.linuxfoundation.org


  https://lists.linuxfoundation.org/mailman/listinfo/accessibility-ia2


  [attachment "graycol.gif" deleted by Richard Schwerdtfeger/Austin/IBM]
  [attachment "graycol.gif" deleted by Richard Schwerdtfeger/Austin/IBM]




___
Accessibility-ia2 mailing list
Accessibility-ia2@lists.linuxfoundation.org
https://lists.linuxfoundation.org/mailman/listinfo/accessibility-ia2


Re: [Accessibility-ia2] aria-colcount and aria-rowcount mapping, again

2016-01-04 Thread Richard Schwerdtfeger

Would it not be better to just navigate to a given row and column index?
Why limit it to just the cell in a direction?


Rich Schwerdtfeger



From:   James Teh 
To: Dominic Mazzoni , IAccessible2 mailing
list 
Date:   01/03/2016 10:55 PM
Subject:Re: [Accessibility-ia2] aria-colcount and aria-rowcount
mapping, again
Sent by:accessibility-ia2-boun...@lists.linuxfoundation.org



On 29/12/2015 5:52 AM, Dominic Mazzoni via Accessibility-ia2 wrote:
> Totally agreed that screen readers need to be able to navigate from
> cell to cell and fetch rows at a time. Note that the spec requires the
> numbering to be sequential, so you don't need to worry about that.
When I said sequential, I also meant contiguous; i.e. 1, 2, 3, not 1, 2, 5.
>
> I'd like to point out that in vanilla HTML it's quite common for
> tables to have missing cells already.
Missing cells only towards the end of rows, never in the middle or at
the start. So, you might not be able to move to the next cell at the end
of an incomplete row, but that's okay because you've already seen all of
the cells on that row. Conversely, if there are cells missing at the
start or in the middle of a row, it may be impossible to get to other
cells in the row.

> Screen readers shouldn't have to do any extra work to deal with most
> such tables because they already need to be able to handle missing
> cells, so this wouldn't be any different.
>
See above. Start/middle gaps are a problem and I can't even think of a
good way to handle this. This is why I am probably more for this solution:

> The alternative proposal seems to be to export the ARIA attributes
> and/or use group position and have the screen reader announce the ARIA
> row and column indexes but otherwise explore the table from the DOM.

> * Screen readers wouldn't be able to jump to a cell by row, column
> index. (JAWS has a keystroke for this now.)
Hmm. That certainly is a problem, yes.

I guess another solution could be to extend IAccessibleTableCell to
provide a way to get to the next cell in a given direction. I *think*
that would solve the start/middle gap problem.

Jamie

--
James Teh
Executive Director, NV Access Limited
Ph +61 7 3149 3306
www.nvaccess.org
Facebook: http://www.facebook.com/NVAccess
Twitter: @NVAccess
SIP: ja...@nvaccess.org

___
Accessibility-ia2 mailing list
Accessibility-ia2@lists.linuxfoundation.org
https://lists.linuxfoundation.org/mailman/listinfo/accessibility-ia2


___
Accessibility-ia2 mailing list
Accessibility-ia2@lists.linuxfoundation.org
https://lists.linuxfoundation.org/mailman/listinfo/accessibility-ia2


Re: [Accessibility-ia2] aria-colcount and aria-rowcount mapping, again

2015-12-31 Thread Richard Schwerdtfeger

What I mean by the DOM going away is accessibility test tools, today, don't
get access to the Web Components DOM. It is hidden. This is a gap. Also, if
you were to traverse the IE DOM you would not reach the Web Components DOM.
So, we have a gap here too strategically.

I understand that web components make use of a DOM tree but it is separate.

So, regarding API mappings you want to have the ATs control the browser
(move focus and have the browser load more content)?


Rich Schwerdtfeger



From:   Dominic Mazzoni <dmazz...@google.com>
To: Richard Schwerdtfeger/Austin/IBM@IBMUS
Cc: IAccessible2 mailing list
<accessibility-...@lists.linux-foundation.org>,
accessibility-ia2-boun...@lists.linuxfoundation.org
Date:   12/31/2015 04:07 PM
Subject:Re: [Accessibility-ia2] aria-colcount and aria-rowcount
mapping, again



On Thu, Dec 31, 2015 at 1:51 PM Richard Schwerdtfeger <sch...@us.ibm.com>
wrote:
  Hi Dominic,

  We can look at adding this work as part of ARIA 2.0 and the common
  accessibility api work for browsers.


I don't think anything I'm asking for is a change in the ARIA spec. I'm
basically okay with what's in ARIA 1.1 now. However, we need to nail this
down as part of the User Agent Implementation Guide for ARIA 1.1.
  The need for this goes beyond screen readers. Alternative input solutions
  will need this too.


Sure, of course.
  Also, the traditional DOM is going away with web components if that takes
  off necessitating more work like this.


What makes you say the DOM is going away? Web components are just an
extension of the DOM by letting authors define their own elements, but
there's still a pretty well-defined "composed" DOM tree. Assistive
technology shouldn't know or care about whether there are web components or
not. I think some work is needed to address some gaps right now (for
example the IDREF issue that makes some ARIA attributes not work well with
web components) but there are workarounds.

- Dominic




  Rich


  Rich Schwerdtfeger

  graycol.gifDominic Mazzoni via Accessibility-ia2 ---12/30/2015 07:00:47
  PM---Hi, This is a follow-up to a mail thread from June on the correct
  mapping of

  From: Dominic Mazzoni via Accessibility-ia2 <
  accessibility-ia2@lists.linuxfoundation.org>
  To: IAccessible2 mailing list <
  accessibility-...@lists.linux-foundation.org>
  Date: 12/30/2015 07:00 PM
  Subject: [Accessibility-ia2] aria-colcount and aria-rowcount mapping,
  again
  Sent by: accessibility-ia2-boun...@lists.linuxfoundation.org








  Hi,

  This is a follow-up to a mail thread from June on the correct mapping of
  aria-rowcount, aria-colcount, aria-rowindex, aria-colindex, etc. to
  IAccessible2.

  The primary intended use case is when all of the rows and columns can't
  be loaded, for performance reasons.

  The current spec does not solve the problem that screen readers need a
  way to request that the page load more rows / columns. I agree this is
  important and I'd be happy to discuss this in a separate thread, but I
  think it's out of the scope of what can be done in ARIA and I don't see
  any reason why we shouldn't move forwards with the current proposal in
  the meantime.

  Jamie wrote:


In order to do table navigation, screen readers need to be able to
navigate
from a given cell to the cell in the next column or the next row,
as
well as being able to fetch all cells in a given row or column. If
the
numbering is not sequential, we can't simply increase indexes to
do
this. No API I know of supports something like this.

  Totally agreed that screen readers need to be able to navigate from cell
  to cell and fetch rows at a time. Note that the spec requires the
  numbering to be sequential, so you don't need to worry about that.

  I'd like to point out that in vanilla HTML it's quite common for tables
  to have missing cells already. Here's a trivial example:

  
    
      1, 1
    
    


      1, 2f



      2, 2
    
  

  In this table, there's no cell 2, 1 even though there are 2 columns and 2
  rows. When a screen reader calls IAccessibleTable2::cellAt(2, 2) it
  returns null.

  Therefore my proposal is to do the same thing with a table that uses ARIA
  to change its row and column indexes. The browser would do the work of
  interpreting the ARIA and would present a virtual table via IAccessible2,
  with some cells missing. Screen readers shouldn't have to do any extra
  work to deal with most such tables because they already need to be able
  to handle missing cells, so this wouldn't be any different.

  The obvious interpretation of aria-rowindex=-1 would be for the browser
  to return an error from IAccessibleTable2::nRows. We'll have to figure
  out what to do if that breaks existing screen readers.

  The alternative proposal seems to be to export the ARIA attributes and/or
  use g

Re: [Accessibility-ia2] aria-colcount and aria-rowcount mapping, again

2015-12-31 Thread Richard Schwerdtfeger

Hi Dominic,

We can look at adding this work as part of ARIA 2.0 and the common
accessibility api work for browsers. The need for this goes beyond screen
readers. Alternative input solutions will need this too.

I am trying to wrap ARIA 1.1 up on time so that we can do all the
long-needed essential cross-platform API-related work like this moving.

Also, the traditional DOM is going away with web components if that takes
off necessitating more work like this.

Rich


Rich Schwerdtfeger



From:   Dominic Mazzoni via Accessibility-ia2

To: IAccessible2 mailing list

Date:   12/30/2015 07:00 PM
Subject:[Accessibility-ia2] aria-colcount and aria-rowcount mapping,
again
Sent by:accessibility-ia2-boun...@lists.linuxfoundation.org



Hi,

This is a follow-up to a mail thread from June on the correct mapping of
aria-rowcount, aria-colcount, aria-rowindex, aria-colindex, etc. to
IAccessible2.

The primary intended use case is when all of the rows and columns can't be
loaded, for performance reasons.

The current spec does not solve the problem that screen readers need a way
to request that the page load more rows / columns. I agree this is
important and I'd be happy to discuss this in a separate thread, but I
think it's out of the scope of what can be done in ARIA and I don't see any
reason why we shouldn't move forwards with the current proposal in the
meantime.

Jamie wrote:
  In order to do table navigation, screen readers need to be able to
  navigate
  from a given cell to the cell in the next column or the next row, as
  well as being able to fetch all cells in a given row or column. If the
  numbering is not sequential, we can't simply increase indexes to do
  this. No API I know of supports something like this.

Totally agreed that screen readers need to be able to navigate from cell to
cell and fetch rows at a time. Note that the spec requires the numbering to
be sequential, so you don't need to worry about that.

I'd like to point out that in vanilla HTML it's quite common for tables to
have missing cells already. Here's a trivial example:


  
    1, 1
  
  
    1, 2f
    2, 2
  


In this table, there's no cell 2, 1 even though there are 2 columns and 2
rows. When a screen reader calls IAccessibleTable2::cellAt(2, 2) it returns
null.

Therefore my proposal is to do the same thing with a table that uses ARIA
to change its row and column indexes. The browser would do the work of
interpreting the ARIA and would present a virtual table via IAccessible2,
with some cells missing. Screen readers shouldn't have to do any extra work
to deal with most such tables because they already need to be able to
handle missing cells, so this wouldn't be any different.

The obvious interpretation of aria-rowindex=-1 would be for the browser to
return an error from IAccessibleTable2::nRows. We'll have to figure out
what to do if that breaks existing screen readers.

The alternative proposal seems to be to export the ARIA attributes and/or
use group position and have the screen reader announce the ARIA row and
column indexes but otherwise explore the table from the DOM. A couple of
downsides of this are:

* Users wouldn't get any support at all if they use an older screen reader
* Screen readers wouldn't be able to jump to a cell by row, column index.
(JAWS has a keystroke for this now.)

- Dominic
___
Accessibility-ia2 mailing list
Accessibility-ia2@lists.linuxfoundation.org
https://lists.linuxfoundation.org/mailman/listinfo/accessibility-ia2

___
Accessibility-ia2 mailing list
Accessibility-ia2@lists.linuxfoundation.org
https://lists.linuxfoundation.org/mailman/listinfo/accessibility-ia2


[Accessibility-ia2] aria-current thread on ia2

2015-12-01 Thread Richard Schwerdtfeger


http://lists.linux-foundation.org/pipermail/accessibility-ia2/2015-September/001939.html

Alex, why would you not want the active state on non-widgets? For example,
if you have a list of links in a navigation landmark section you do not
want to mix focus with active. This is because what is active was the last
navigation item you activated.

Rich


Rich Schwerdtfeger___
Accessibility-ia2 mailing list
Accessibility-ia2@lists.linuxfoundation.org
https://lists.linuxfoundation.org/mailman/listinfo/accessibility-ia2


Re: [Accessibility-ia2] aria-errormessage

2015-08-11 Thread Richard Schwerdtfeger

Sure, but then you need to separate out descriptions from error messages,
including text extraction for descriptions. We would have to do this for
descriptions and error messages.

Which evil do people prefer?


Rich Schwerdtfeger



From:   Joanmarie Diggs jdi...@igalia.com
To: Richard Schwerdtfeger/Austin/IBM@IBMUS, Alexander Surkov
surkov.alexan...@gmail.com
Cc: accessibility-ia2@lists.linuxfoundation.org
accessibility-ia2@lists.linuxfoundation.org,
accessibility-ia2-boun...@lists.linuxfoundation.org
Date:   08/11/2015 12:06 PM
Subject:Re: [Accessibility-ia2] aria-errormessage



Do we really need a dedicated relationship for this? Because the
target of an AtkRelation is an array of objects, I would think we
could use an existing relationship (e.g. described-by/description-for).
Then we could examine the target object(s) to see if it's the one
defined by aria-errormessage (exposed via object attribute).

--joanie

On 08/11/2015 12:48 PM, Richard Schwerdtfeger wrote:
 yes. We need it for ATK/ATSPI also.


 Rich Schwerdtfeger

 Inactive hide details for Alexander Surkov ---08/11/2015 11:34:44
 AM---Hi. It looks like we need a new relation to expose aria-Alexander
 Surkov ---08/11/2015 11:34:44 AM---Hi. It looks like we need a new
 relation to expose aria-errormessage which refers to an element cont

 From: Alexander Surkov surkov.alexan...@gmail.com
 To: accessibility-ia2@lists.linuxfoundation.org
 accessibility-ia2@lists.linuxfoundation.org
 Date: 08/11/2015 11:34 AM
 Subject: [Accessibility-ia2] aria-errormessage
 Sent by: accessibility-ia2-boun...@lists.linuxfoundation.org

 



 Hi. It looks like we need a new relation to expose aria-errormessage
 which refers to an element containing the error message. Should we have
 a pair IA2_RELATION_ERROR_FOR/BY for that?

 THanks!
 Alexander.

 [1]

_https://rawgit.com/w3c/aria/master/aria/aria.html#aria-errormessage

 Accessibility-ia2 mailing list
 Accessibility-ia2@lists.linuxfoundation.org
 https://lists.linuxfoundation.org/mailman/listinfo/accessibility-ia2




 ___
 Accessibility-ia2 mailing list
 Accessibility-ia2@lists.linuxfoundation.org
 https://lists.linuxfoundation.org/mailman/listinfo/accessibility-ia2



___
Accessibility-ia2 mailing list
Accessibility-ia2@lists.linuxfoundation.org
https://lists.linuxfoundation.org/mailman/listinfo/accessibility-ia2


Re: [Accessibility-ia2] Fw: ARIA 1.1 feature status aria-rowspan and aria-colspan

2015-07-29 Thread Richard Schwerdtfeger
Yes, that is possible. He also said that would be hideous. :-)

One concern is the growth of object attributes and the mechanism to get them. 
Perhaps we need a new interface to object attributes like a hashing table.

Rich

Sent from my iPad

 On Jul 28, 2015, at 2:32 PM, Alexander Surkov surkov.alexan...@gmail.com 
 wrote:
 
 I'd say the problem is in restrictions of IAccessibleTable as it describes 
 the continuous model only, while ARIA allows to have gaps in tables. So if 
 a table has a gap and spanning right before the gap then we should use a 
 mechanism other than IAccessibleTable. Jamie suggested to use object 
 attributes which sounds reasonable.
 Alex.
 
 On Tue, Jul 28, 2015 at 10:40 AM, Richard Schwerdtfeger sch...@us.ibm.com 
 wrote:
 I am continuing the discussion on the list. It sounds like we have two 
 models - contiguous rows/columns vs. author specified. 
 
 Should we say that if the author is going to provide row and column spans 
 that user agents NOT compute the indices? IOW, It must all be left up to the 
 author. 
 
 It sounds like the issue is that we are fighting with trying to compute the 
 results vs. what the author is putting in. 
 
 Rich
 
 
 Rich Schwerdtfeger
 - Forwarded by Richard Schwerdtfeger/Austin/IBM on 07/28/2015 09:31 AM 
 -
 
 From: Alexander Surkov surkov.alexan...@gmail.com
 To: Richard Schwerdtfeger/Austin/IBM@IBMUS
 Cc: Brett Lewis ble...@freedomscientific.com, David Bolter 
 dbol...@mozilla.com, Frank DiPalermo/Austin/Contr/IBM@IBMUS
 Date: 07/28/2015 09:19 AM
 Subject: Re: ARIA 1.1 feature status
 
 
 
 Hi, Rich. Here's Jamie's example [1] where putting ARIA span into 
 IAccessibleTable interface may be not trivial. I suggest to move discussion 
 to IA2 channel if possible.
 
 [1] 
 http://lists.linuxfoundation.org/pipermail/accessibility-ia2/2015-June/001913.html
 
 On Tue, Jul 28, 2015 at 8:38 AM, Richard Schwerdtfeger sch...@us.ibm.com 
 wrote:
 That does not make sense. It is essentially the same attribute.
 
 
 Rich Schwerdtfeger
 
 M2.gifAlexander Surkov ---07/27/2015 08:16:15 PM---They are exposed via 
 IAccessibleTable interface which seems to be inapplicable for ARIA spanning.
 
 From: Alexander Surkov surkov.alexan...@gmail.com
 To: Richard Schwerdtfeger/Austin/IBM@IBMUS
 Cc: Brett Lewis ble...@freedomscientific.com, David Bolter 
 dbol...@mozilla.com, Frank DiPalermo/Austin/Contr/IBM@IBMUS
 Date: 07/27/2015 08:16 PM
 
 Subject: Re: ARIA 1.1 feature status
 
 
 
 
 They are exposed via IAccessibleTable interface which seems to be 
 inapplicable for ARIA spanning.
 
 On Mon, Jul 27, 2015 at 8:59 PM, Richard Schwerdtfeger sch...@us.ibm.com 
 wrote:
 How do you expose rowspan and colspan for HTML tables?
 
 
 Rich Schwerdtfeger
 
 M2.gifAlexander Surkov ---07/27/2015 04:06:58 PM---Hi, Brett. All but 
 colspan/rowspan are implemented by Nightly. 
 arai-colcount/rowcount/colindex/rowin
 
 From: Alexander Surkov surkov.alexan...@gmail.com
 To: Brett Lewis ble...@freedomscientific.com
 Cc: Richard Schwerdtfeger/Austin/IBM@IBMUS, Frank 
 DiPalermo/Austin/Contr/IBM@IBMUS, David Bolter dbol...@mozilla.com
 Date: 07/27/2015 04:06 PM
 Subject: Re: ARIA 1.1 feature status
 
 
 
 Hi, Brett. All but colspan/rowspan are implemented by Nightly. 
 arai-colcount/rowcount/colindex/rowindex are exposed as GroupPosition on 
 cells and rows. There's no understanding yet on how to expose 
 aria-colspan/rowspan [1].
 
 [1] 
 http://lists.linuxfoundation.org/pipermail/accessibility-ia2/2015-June/001913.html
 
 On Mon, Jul 27, 2015 at 4:49 PM, Brett Lewis ble...@freedomscientific.com 
 wrote:
 Hi Alex,
 I am starting work on JAWS support for the new ARIA 1.1 features.
 I wanted to see where you are w/r/t Firefox support for these.
 I was thinking of starting with the table related roles, does Firefox 
 support these?
 How about:
 aria-colcount
 aria-rowcount
 aria-colindex
 aria-rowindex
 aria-colspan
 aria-rowspan
 
 Do you have a general time line for all the ARIA 1.1 features?  (even just 
 an ordering of which features will be implemented first)?
 Do you have a bug record for these?
 Thanks for any info you might have.
 Brett
 
 
 Brett Lewis
 Software Developer
 Freedom Scientific, Inc
 727-299-6270 
 ble...@freedomscientific.com
 
 www.freedomscientific.com
 
 Connect with us:
  

 
 
 ___
 Accessibility-ia2 mailing list
 Accessibility-ia2@lists.linuxfoundation.org
 https://lists.linuxfoundation.org/mailman/listinfo/accessibility-ia2
 
___
Accessibility-ia2 mailing list
Accessibility-ia2@lists.linuxfoundation.org
https://lists.linuxfoundation.org/mailman/listinfo/accessibility-ia2


[Accessibility-ia2] Fw: ARIA 1.1 feature status aria-rowspan and aria-colspan

2015-07-28 Thread Richard Schwerdtfeger


I am continuing the discussion on the list. It sounds like we have two
models - contiguous rows/columns vs. author specified.

Should we say that if the author is going to provide row and column spans
that user agents NOT compute the indices? IOW, It must all be left up to
the author.

It sounds like the issue is that we are fighting with trying to compute the
results vs. what the author is putting in.

Rich


Rich Schwerdtfeger
- Forwarded by Richard Schwerdtfeger/Austin/IBM on 07/28/2015 09:31 AM
-

From:   Alexander Surkov surkov.alexan...@gmail.com
To: Richard Schwerdtfeger/Austin/IBM@IBMUS
Cc: Brett Lewis ble...@freedomscientific.com, David Bolter
dbol...@mozilla.com, Frank DiPalermo/Austin/Contr/IBM@IBMUS
Date:   07/28/2015 09:19 AM
Subject:Re: ARIA 1.1 feature status



Hi, Rich. Here's Jamie's example [1] where putting ARIA span into
IAccessibleTable interface may be not trivial. I suggest to move discussion
to IA2 channel if possible.

[1]
http://lists.linuxfoundation.org/pipermail/accessibility-ia2/2015-June/001913.html

On Tue, Jul 28, 2015 at 8:38 AM, Richard Schwerdtfeger sch...@us.ibm.com
wrote:
  That does not make sense. It is essentially the same attribute.


  Rich Schwerdtfeger

  Inactive hide details for Alexander Surkov ---07/27/2015 08:16:15
  PM---They are exposed via IAccessibleTable interface which seAlexander
  Surkov ---07/27/2015 08:16:15 PM---They are exposed via IAccessibleTable
  interface which seems to be inapplicable for ARIA spanning.

  From: Alexander Surkov surkov.alexan...@gmail.com
  To: Richard Schwerdtfeger/Austin/IBM@IBMUS
  Cc: Brett Lewis ble...@freedomscientific.com, David Bolter 
  dbol...@mozilla.com, Frank DiPalermo/Austin/Contr/IBM@IBMUS
  Date: 07/27/2015 08:16 PM



  Subject: Re: ARIA 1.1 feature status



  They are exposed via IAccessibleTable interface which seems to be
  inapplicable for ARIA spanning.

  On Mon, Jul 27, 2015 at 8:59 PM, Richard Schwerdtfeger sch...@us.ibm.com
   wrote:
How do you expose rowspan and colspan for HTML tables?


Rich Schwerdtfeger

Inactive hide details for Alexander Surkov ---07/27/2015 04:06:58
PM---Hi, Brett. All but colspan/rowspan are implemented by Ni
Alexander Surkov ---07/27/2015 04:06:58 PM---Hi, Brett. All but
colspan/rowspan are implemented by Nightly.
arai-colcount/rowcount/colindex/rowin

From: Alexander Surkov surkov.alexan...@gmail.com
To: Brett Lewis ble...@freedomscientific.com
Cc: Richard Schwerdtfeger/Austin/IBM@IBMUS, Frank
DiPalermo/Austin/Contr/IBM@IBMUS, David Bolter dbol...@mozilla.com

Date: 07/27/2015 04:06 PM
Subject: Re: ARIA 1.1 feature status



Hi, Brett. All but colspan/rowspan are implemented by Nightly.
arai-colcount/rowcount/colindex/rowindex are exposed as
GroupPosition on cells and rows. There's no understanding yet on
how to expose aria-colspan/rowspan [1].

[1]

http://lists.linuxfoundation.org/pipermail/accessibility-ia2/2015-June/001913.html


On Mon, Jul 27, 2015 at 4:49 PM, Brett Lewis 
ble...@freedomscientific.com wrote:
  Hi Alex,
  I am starting work on JAWS support for the new ARIA 1.1
  features.
  I wanted to see where you are w/r/t Firefox support for
  these.
  I was thinking of starting with the table related roles, does
  Firefox support these?
  How about:
  aria-colcount
  aria-rowcount
  aria-colindex
  aria-rowindex
  aria-colspan
  aria-rowspan

  Do you have a general time line for all the ARIA 1.1
  features?  (even just an ordering of which features will be
  implemented first)?
  Do you have a bug record for these?
  Thanks for any info you might have.
  Brett


  Brett Lewis
  Software Developer
  Freedom Scientific, Inc
  727-299-6270
  ble...@freedomscientific.com

  www.freedomscientific.com

  Connect with us:








___
Accessibility-ia2 mailing list
Accessibility-ia2@lists.linuxfoundation.org
https://lists.linuxfoundation.org/mailman/listinfo/accessibility-ia2


Re: [Accessibility-ia2] placeholder mapping

2015-05-01 Thread Richard Schwerdtfeger

The problem with the name computation is that:

If you use it to compute a name only and then type over it you lose the
hint. ... e.g. a placeholder value of MMDDYY. The AT can always ask for the
placeholder value.

Rich


Rich Schwerdtfeger



From:   Alexander Surkov surkov.alexan...@gmail.com
To: Joseph Scheuhammer cl...@alum.mit.edu
Cc: IAccessible2 mailing list
accessibility-...@lists.linux-foundation.org, Steve Faulkner
faulkner.st...@gmail.com
Date:   05/01/2015 09:20 AM
Subject:Re: [Accessibility-ia2] placeholder mapping
Sent by:accessibility-ia2-boun...@lists.linuxfoundation.org



So it seems like we all agree to introduce placeholder object attribute in
IAccessible2. IA2 spec doesn't define markup mappings so it doesn't have to
say about HTML5 placeholder and ARIA aria-placeholder attributes. Anyway,
it doesn't prevent us from discussing it here :) So are there benefits in
changing of current HTML5 placeholder mappings into accessible name and
description?

Btw, Joseph, I didn't really suggested to change GTK+ mappings :)

On Thu, Apr 30, 2015 at 12:05 PM, Joseph Scheuhammer cl...@alum.mit.edu
wrote:
  On 2015-04-29 7:48 AM, Alexander Surkov wrote:
   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/html-aam/html-aam.html#input-type-text-input-type-password-input-type-search-input-type-tel-input-type-email-input-type-url-and-textarea-element-accessible-name-calculation

  That's not backward compatible with the GNOME desktop (GTK+), where
  placeholder text is not mapped to an empty accessible name.  Thus, there
  is now a mismatch between desktop widgets and widgets within a web page,
  on one desktop.


  --
  joseph.

  'Array(16).join(wat - 1) +  Batman!'
             - G. Bernhardt -

___
Accessibility-ia2 mailing list
Accessibility-ia2@lists.linuxfoundation.org
https://lists.linuxfoundation.org/mailman/listinfo/accessibility-ia2
___
Accessibility-ia2 mailing list
Accessibility-ia2@lists.linuxfoundation.org
https://lists.linuxfoundation.org/mailman/listinfo/accessibility-ia2


Re: [Accessibility-ia2] placeholder mapping

2015-04-27 Thread Richard Schwerdtfeger

I want to also consider HTML5.1 native host language semantics. If we have
an HTML5 checkbox I would think that the native placeholder attribute would
win, over aria-placeholder, as that text would be visible.

Do you agree Steve?




Rich Schwerdtfeger



From:   Joanmarie Diggs jdi...@igalia.com
To: Alexander Surkov surkov.alexan...@gmail.com
Cc: IAccessible2 mailing list
accessibility-...@lists.linux-foundation.org
Date:   04/27/2015 03:32 PM
Subject:Re: [Accessibility-ia2] placeholder mapping
Sent by:accessibility-ia2-boun...@lists.linuxfoundation.org



Hey Alex.

On 04/27/2015 12:58 PM, Alexander Surkov wrote:

[...]

 Also it's backward compatible approach. So does the following make sense?

 1) If placeholder is used to label the control, i.e accessible name is
 not provided otherwise then map placeholder (aria-placeholder) into
 accessible name
 2) Expose placeholder as object attribute on the accessible object if it
 wasn't used as name.

What about changing 2) to just Expose placeholder as object
attribute.? In other words, independent of what happens in terms of the
name mapping. That's what's happening -- and has been happening for
several years -- in Gtk+ and WebKitGtk for native (non-ARIA) placeholder
text.

--joanie


___
Accessibility-ia2 mailing list
Accessibility-ia2@lists.linuxfoundation.org
https://lists.linuxfoundation.org/mailman/listinfo/accessibility-ia2


___
Accessibility-ia2 mailing list
Accessibility-ia2@lists.linuxfoundation.org
https://lists.linuxfoundation.org/mailman/listinfo/accessibility-ia2


Re: [Accessibility-ia2] placeholder mapping

2015-04-27 Thread Richard Schwerdtfeger

Joseph, fyi:  assuming Joanie and Alex agree on an object attribute, see
below.


Rich


Rich Schwerdtfeger



From:   Steve Faulkner faulkner.st...@gmail.com
To: Richard Schwerdtfeger/Austin/IBM@IBMUS
Cc: Joanmarie Diggs jdi...@igalia.com, IAccessible2 mailing list
accessibility-...@lists.linux-foundation.org,
accessibility-ia2-boun...@lists.linuxfoundation.org, Alexander
Surkov surkov.alexan...@gmail.com
Date:   04/27/2015 04:52 PM
Subject:Re: [Accessibility-ia2] placeholder mapping




On 27 April 2015 at 22:40, Richard Schwerdtfeger sch...@us.ibm.com wrote:
  I want to also consider HTML5.1 native host language semantics. If we
  have an HTML5 checkbox I would think that the native placeholder
  attribute would win, over aria-placeholder, as that text would be
  visible.

  Do you agree Steve?

Suggest; If the element supports placeholder and the placeholder attribute
is present and non empty and aria-placeholder is also present and non empty
then the value exposed as a placeholder object attribute should be the
native placeholder content.

--

Regards

SteveF
HTML 5.1
___
Accessibility-ia2 mailing list
Accessibility-ia2@lists.linuxfoundation.org
https://lists.linuxfoundation.org/mailman/listinfo/accessibility-ia2


Re: [Accessibility-ia2] IAccessible2 Proxy.DLL for 64 bit browser support

2014-11-04 Thread Richard Schwerdtfeger

We are also building a 64-bit proxy dll. I can look at open sourcing it
although not in the next month as I have travel.


Rich Schwerdtfeger



From:   James Teh ja...@nvaccess.org
To: accessibility-ia2@lists.linuxfoundation.org
Date:   11/03/2014 06:38 PM
Subject:Re: [Accessibility-ia2] IAccessible2 Proxy.DLL for 64 bit
browser support
Sent by:accessibility-ia2-boun...@lists.linuxfoundation.org



As far as I know, there is no official 64 bit proxy dll. However, you
are correct that one is needed to use IA2 out-of-process where a 64 bit
process is involved.

We build our own 64 bit proxy for NVDA, so you could download NVDA and
get it from there. Note that this is integrated into our build system,
so it isn't available separately. I'm not sure if this would cause any
licensing/legal issues for you.

Jamie

On 3/11/2014 5:46 PM, Rajesh V R wrote:
 Hello,

 I'm working with some browser depending projects, and using VC++. So how
 can I use the  IAccessible2 Proxy.DLL for 64 bit browsers? Is there
 any other 64bit version available?
 Because, everytime I'm getting the error code 80040154 [HRESULT:
 0x80040154 (REGDB_E_CLASSNOTREG)].
 I'm registering the IAccessible2Proxy.DLL from Syswow64 folder using
 the command regsvr32.
 The problem is mainly with Google Chrome 64bit. Please help me to solve
 this issue.

 Thanks,
 Rajesh


 ___
 Accessibility-ia2 mailing list
 Accessibility-ia2@lists.linuxfoundation.org
 https://lists.linuxfoundation.org/mailman/listinfo/accessibility-ia2


--
James Teh
Executive Director, NV Access Limited
Ph +61 7 3149 3306
www.nvaccess.org
Facebook: http://www.facebook.com/NVAccess
Twitter: @NVAccess
SIP: ja...@nvaccess.org
___
Accessibility-ia2 mailing list
Accessibility-ia2@lists.linuxfoundation.org
https://lists.linuxfoundation.org/mailman/listinfo/accessibility-ia2

___
Accessibility-ia2 mailing list
Accessibility-ia2@lists.linuxfoundation.org
https://lists.linuxfoundation.org/mailman/listinfo/accessibility-ia2


[Accessibility-ia2] IAccessible2

2014-07-08 Thread Richard Schwerdtfeger


Hi Pete, Janina,

As you may know ARIA 1.1 will require some modifications to platform
accessibility APIs. Alex Surkov, from Mozilla, has agreed to take over
Pete's position in the Linux Foundation to make the necessary changes, as
well as other enhancements, required for IA2 implementers. He also needs to
coordinate with the ATK/ATSPI effort to ensure consistency across
platforms.

Alex would like some assistance on process for producing documentation and
updated IDL documents and any other processes and coordination efforts in
the Linux Foundation.

Please lend him any assistance you can to help get him started.

Best,

Rich


Rich Schwerdtfeger___
Accessibility-ia2 mailing list
Accessibility-ia2@lists.linuxfoundation.org
https://lists.linuxfoundation.org/mailman/listinfo/accessibility-ia2


Re: [Accessibility-ia2] IAccessible2

2014-07-08 Thread Richard Schwerdtfeger

Super.

Alex is gong to be great. Thank you for all your wonderful work  on IA2
Pete!


Rich Schwerdtfeger



From:   Pete Brunet p...@a11ysoft.com
To: Richard Schwerdtfeger/Austin/IBM@IBMUS
Cc: IAccessible2 mailing list
accessibility-ia2@lists.linuxfoundation.org
Date:   07/08/2014 12:15 PM
Subject:Re: IAccessible2



Hi Rich, I'll be in contact with Alex for the handoff.  -Pete

On 7/8/14, 11:36 AM, Richard Schwerdtfeger wrote:


  Hi Pete, Janina,

  As you may know ARIA 1.1 will require some modifications to platform
  accessibility APIs. Alex Surkov, from Mozilla, has agreed to take
  over Pete's position in the Linux Foundation to make the necessary
  changes, as well as other enhancements, required for IA2
  implementers. He also needs to coordinate with the ATK/ATSPI effort
  to ensure consistency across platforms.

  Alex would like some assistance on process for producing
  documentation and updated IDL documents and any other processes and
  coordination efforts in the Linux Foundation.

  Please lend him any assistance you can to help get him started.

  Best,

  Rich


  Rich Schwerdtfeger



--
Pete Brunet

a11ysoft - Accessibility Architecture and Development
(512) 467-4706 (work), (512) 689-4155 (cell)
Skype: pete.brunet
IM: ptbrunet (AOL, Google), ptbru...@live.com (MSN)
http://www.a11ysoft.com/about/
Ionosphere: WS4G___
Accessibility-ia2 mailing list
Accessibility-ia2@lists.linuxfoundation.org
https://lists.linuxfoundation.org/mailman/listinfo/accessibility-ia2


Re: [Accessibility-ia2] IAccessibleTable2::caption/summary deprecation notes need correcting

2013-10-12 Thread Richard Schwerdtfeger
Thanks Pete.

Sent from my iPad

 On Oct 12, 2013, at 12:43 AM, Pete Brunet p...@a11ysoft.com wrote:
 
 The IAccessibleTable2 spec has an error.  The deprecation note on the caption 
 method indicates that a describedBy relation should be used and the 
 deprecation note on the summary method indicates that a labeledBy relation 
 should be used instead.  This is backwards and I will submit a replacement 
 soon. 
 
 Pete
 -- 
 Pete Brunet
  
 a11ysoft - Accessibility Architecture and Development
 (512) 467-4706 (work), (512) 689-4155 (cell)
 Skype: pete.brunet
 IM: ptbrunet (AOL, Google), ptbru...@live.com (MSN)
 http://www.a11ysoft.com/about/
 Ionosphere: WS4G 
  ___
 Accessibility-ia2 mailing list
 Accessibility-ia2@lists.linuxfoundation.org
 https://lists.linuxfoundation.org/mailman/listinfo/accessibility-ia2
___
Accessibility-ia2 mailing list
Accessibility-ia2@lists.linuxfoundation.org
https://lists.linuxfoundation.org/mailman/listinfo/accessibility-ia2


Re: [Accessibility-ia2] IA2 1.3 ready for review

2013-02-04 Thread Richard Schwerdtfeger

Hi Pete,

The reason for the editing functions was to allow a voice reco solution to
select text, edit it, and perform clipboard operations for the mobility
impaired. It is additional work to have a voice reco solution have to go
through the additional work of doing the additional keyboard simulations
for doing that function.

So, these are single actions. AccessibleEditableText also allows you to
replace text, and set attributes, which takes offsets and replacement
text/attributes. Accessible actions are single action functions that don't
take parameters. ReplaceText is not the same as pasting from the clipboard.
It is really nice to have all the features in the same interface. Note: One
could bind the single command functions (cut, copy, paste) to the same
actions in accessible actions.

The other problem you have with actions is where do you apply it. Do you
know to apply it only to the document. If Editable text is applied to text
content within the document then you should now where to find the
interface.

Rich


Rich Schwerdtfeger



From:   Pete Brunet p...@a11ysoft.com
To: Alexander Surkov surkov.alexan...@gmail.com,
Cc: IAccessible2 mailing list
accessibility-ia2@lists.linuxfoundation.org
Date:   02/04/2013 07:49 PM
Subject:Re: [Accessibility-ia2] IA2 1.3 ready for review
Sent by:accessibility-ia2-boun...@lists.linuxfoundation.org




On 10/10/12 2:07 AM, Alexander Surkov wrote:
  Hi, Jamie. Answering inline.


  5) Document that copyText, cutText, and pasteText are
  deprecated.
  Can you please refresh me on it? The reason specified is
  This
  function is available via the application's GUI. but it
  seems it can
  be applied to the whole IAccessibleEditableText
  interface.


I believe there was some talk a while ago about making these
all actions
which can be triggered using the standard action mechanism.
This would
require a way to perform an action given a constant. It is why
the idea of
using negative action indices came up.


  It seems it doesn't answer why we can't turn out the whole
  IAccessibleEditableText interface into actions.
  Btw, I would prefer doAction taking a BSTR rather than negative
  constant. Otherwise we should standardize all possible actions and we
  don't leave a room for the server to introduce non-standard actions.


  6) IAccessibleHypertext2::hyperlinks. Just to make sure:
  we decided to
  go with array instead EnumVariant? Do AT want to get all
  items at once
  even if the document is big and has many links?


  It seems we didn't go with EnumVariant at all but we added maxCount
  'in' argument. Should we have it here as well?
Hi Alex, I assume you are referring to
IAccessible2_2::relationTargetsOfType which along with
IAccessible2::relations and IAccessibleRelation::targerts are the only
methods with a valid max count [in] parameter.  (There are several others
but those methods were coded in error and their max count [in] parameters
are to be ignored.)  IAccessibleHypertext2::hyperlinks doesn't have a max
[in] parameter and Jamie said in a followup note that he's unaware of any
need for one.



  7) IA2_RELATION_GROUPING_OBJECT_FOR: This object is a
  grouping object
  for the target object. - it'd be nice to give a hint for
  implementers. After a time I don't really remember what
  is it about :)


I guess a grouping object/container would expose this relation
referring to
all objects it contains. Is this really useful?


  It'd be nice to have examples. Does it applicable to HTML fieldset
  and
  HTML form? Should it include the element connected by node_child_of
  relation if the element is not a descendant?

  Thank you.
  Alex.


  On Wed, Oct 10, 2012 at 3:39 PM, James Teh ja...@nvaccess.org
  wrote:

On 24/09/2012 2:52 PM, Alexander Surkov wrote:


  5) Document that copyText, cutText, and pasteText are
  deprecated.
  Can you please refresh me on it? The reason specified is
  This
  function is available via the application's GUI. but it
  seems it can
  be applied to the whole IAccessibleEditableText
  interface.


I believe there was some talk a while ago about making these
all actions
which can be triggered using the standard action mechanism.
This would
require a way to perform an action given a constant. It is why
the idea of
   

Re: [Accessibility-ia2] IA2 1.3 ready for review

2013-02-04 Thread Richard Schwerdtfeger

Pete,

Is there a plan to update AccProbe for the new interfaces?

Alex: I am concerned about FF implementing this stuff in the middle of
Candidate Recommendation phase. That would set everything back and there
are already more bugs than I would like to see in FF 21 which need to be
addressed.

It would be best if this were synched with ARIA 1.1.

Rich


Rich Schwerdtfeger



From:   Pete Brunet p...@a11ysoft.com
To: Alexander Surkov surkov.alexan...@gmail.com,
Cc: IA2 List Accessibility-ia2@lists.linuxfoundation.org
Date:   02/04/2013 08:47 PM
Subject:Re: [Accessibility-ia2] IA2 1.3 ready for review
Sent by:accessibility-ia2-boun...@lists.linuxfoundation.org




On 2/4/13 8:16 PM, Alexander Surkov wrote:
  Hi, Pete. Thank you for getting back on this. Answering inline.


1) It makes sense to allow IAccessible2_2::attribute to take
sequence
of attribute names like margin-left;margin-right; to get
these
attribute values for a single call.

Is this important enough to add additional development effort
for server
side implementers?


  Let's leave it out of IA2 1.3. Otherwise I afraid we never get it
  done. If the feature is needed by AT then it can be prototyped in the
  browser before we put it into spec since it doesn't require the
  interface changes.


3) Any specific reason to use long for nTargets in
relationTargetsOfType since it seems it never takes negative
values?

It's a good point, but since an unsigned long wasn't used
anywhere else it
seems like at least for the sake of consistency to leave it as
is.


  I don't mind.


6) IAccessibleHypertext2::hyperlinks. Just to make sure: we
decided to
go with array instead EnumVariant? Do AT want to get all items
at once
even if the document is big and has many links?

Back on 14 Aug 2012 you agreed that the array would be
preferred in order to
keep it consistent with the array returned by
IAccessible2_2::relationTargetsOfType.


  If I agreed then ok :) It seems our discussion is many years long. I
  can hardly remember where we started from. I think my point was that
  obtaining all hyperlinks can be slow. If it is an issue then we can
  address it the next round if necessary.


8) IA2_RELATION_NODE_PARENT_OF This object is a parent of a
target
object. It's not clear as well since it doesn't answer why
get_accParent doesn't work. Maybe you should say it's a logical
parent
and the relation is reverse to RELATION_NODE_CHILD_OF. It is
used, for
example, for flat structured trees.

I could remove it.  Noone else showed interest in it other than
for symmetry
with IA2_RELATION_NODE_CHILD_OF.  The comment about
get_accParent is a good
one.  You asked for this new relation back on 9 Nov 09 because
you added it
for ATK and wanted to enhance the symmetry between the ATK and
IA2
interfaces.  Or I could just add another sentence, This
relation is the
reciprocal of IA2_RELATION_NODE_CHILD_OF.  I didn't understand
the comment
about flat structured trees but if you want to keep this
relation please
provide an additional sentence.


  We shouldn't remove it. It's needed for sync with ATK. Also this
  constant was settled down in ARIA spec implementation guide
  already :)

  If you use logical parent instead parent (i.e. not a parent in
  the
  accessible tree) then it should be fine. It can sound This object is
  a logical parent of a target object. This relation is the reciprocal
  of IA2_RELATION_NODE_CHILD_OF.

  About flat trees. The accessible tree may look like:

  div role=tree
div role=treeitem level=1item/div
div role=treeitem level=2sub item/div
  /div

  in this case parent for 'item' and 'subitem' is 'tree' but logical
  parent of 'subitem' is 'item'.
I updated the comments as follows.  Please review.

/** This object is a logical child of a target object.  This relation is
the reciprocal
 of the IA2_RELATION_NODE_PARENT_OF relation. In some cases an
application's accessible
 tree is such that an object can have a logical parent which is not its
parent in the
 tree of accessibles. */
const WCHAR *const IA2_RELATION_NODE_CHILD_OF = LnodeChildOf;

/** This object is a logical parent of a target object. This relation is
the reciprocal
 of the IA2_RELATION_NODE_CHILD_OF relation. In some cases an application's
accessible
 tree is such that an object can have a logical parent 

Re: [Accessibility-ia2] IA2 1.3 ready for review

2013-02-04 Thread Richard Schwerdtfeger

That creates a rather significant problem.

Rich


Rich Schwerdtfeger



From:   Pete Brunet p...@a11ysoft.com
To: Richard Schwerdtfeger/Austin/IBM@IBMUS,
Cc: IA2 List Accessibility-ia2@lists.linuxfoundation.org,
accessibility-ia2-boun...@lists.linuxfoundation.org, Alexander
Surkov surkov.alexan...@gmail.com
Date:   02/04/2013 09:15 PM
Subject:Re: [Accessibility-ia2] IA2 1.3 ready for review




On 2/4/13 9:03 PM, Richard Schwerdtfeger wrote:


  Pete,

  Is there a plan to update AccProbe for the new interfaces?


Hi Rich, AccProbe should be updated but there is no resource to do it.



  Alex: I am concerned about FF implementing this stuff in the middle
  of Candidate Recommendation phase. That would set everything back and
  there are already more bugs than I would like to see in FF 21 which
  need to be addressed.

  It would be best if this were synched with ARIA 1.1.

  Rich


  Rich Schwerdtfeger

  Inactive hide details for Pete Brunet ---02/04/2013
  08:47:01
  PM---On 2/4/13 8:16 PM, Alexander Surkov wrote: 
  Hi, Pete.
  Thank Pete Brunet ---02/04/2013 08:47:01 PM---On 2/4/13 8:16 PM,
  Alexander Surkov wrote:  Hi, Pete. Thank you for getting back on
  this. Answering

  From: Pete Brunet p...@a11ysoft.com
  To: Alexander Surkov surkov.alexan...@gmail.com,
  Cc: IA2 List Accessibility-ia2@lists.linuxfoundation.org
  Date: 02/04/2013 08:47 PM
  Subject: Re: [Accessibility-ia2] IA2 1.3 ready for review
  Sent by: accessibility-ia2-boun...@lists.linuxfoundation.org






  On 2/4/13 8:16 PM, Alexander Surkov wrote:
Hi, Pete. Thank you for getting back on this. Answering inline.

  1) It makes sense to allow IAccessible2_2::attribute to
  take sequence
  of attribute names like margin-left;margin-right; to
  get these
  attribute values for a single call.

  Is this important enough to add additional development
  effort for server
  side implementers?

Let's leave it out of IA2 1.3. Otherwise I afraid we never get
it
done. If the feature is needed by AT then it can be prototyped
in the
browser before we put it into spec since it doesn't require the
interface changes.

  3) Any specific reason to use long for nTargets in
  relationTargetsOfType since it seems it never takes
  negative values?

  It's a good point, but since an unsigned long wasn't used
  anywhere else it
  seems like at least for the sake of consistency to leave
  it as is.

I don't mind.

  6) IAccessibleHypertext2::hyperlinks. Just to make sure:
  we decided to
  go with array instead EnumVariant? Do AT want to get all
  items at once
  even if the document is big and has many links?

  Back on 14 Aug 2012 you agreed that the array would be
  preferred in order to
  keep it consistent with the array returned by
  IAccessible2_2::relationTargetsOfType.

If I agreed then ok :) It seems our discussion is many years
long. I
can hardly remember where we started from. I think my point was
that
obtaining all hyperlinks can be slow. If it is an issue then we
can
address it the next round if necessary.

  8) IA2_RELATION_NODE_PARENT_OF This object is a parent
  of a target
  object. It's not clear as well since it doesn't answer
  why
  get_accParent doesn't work. Maybe you should say it's a
  logical parent
  and the relation is reverse to RELATION_NODE_CHILD_OF. It
  is used, for
  example, for flat structured trees.

  I could remove it.  Noone else showed interest in it
  other than for symmetry
  with IA2_RELATION_NODE_CHILD_OF.  The comment about
  get_accParent is a good
  one.  You asked for this new relation back on 9 Nov 09
  because you added it
  for ATK and wanted to enhance the symmetry between the
  ATK and IA2
  interfaces.  Or I could just add another sentence, This
  relation is the
  reciprocal of IA2_RELATION_NODE_CHILD_OF.  I didn't
  understand the comment
  about flat structured trees but if you want to keep this
  relation please
  provide

Re: [Accessibility-ia2] IA2 1.3 ready for review

2013-02-04 Thread Richard Schwerdtfeger
Did you check with Nuance? What appends if replacetext is removed? 

Even if Nuance has not implemented it for say FF has someone approached them? 
We can' t just  be supporting vision impairments.

Sent from my iPad

On Feb 4, 2013, at 9:35 PM, Pete Brunet p...@a11ysoft.com wrote:

 Hi Rich, At this point, since we couldn't find consensus and since this 
 release was supposed to done last Fall and since I was informed that noone 
 has implemented or shown a need for the three clipboard operations, I'm 
 inclined to not hold up the release any further and handle this in a 
 follow-on release if a project comes along that needs clipboard functionality 
 and provides resource to drive the spec toward a well thought out definition 
 of the clipboard methods.
 
 Pete
 
 On 2/4/13 8:51 PM, Richard Schwerdtfeger wrote:
 Hi Pete,
 
 The reason for the editing functions was to allow a voice reco solution to 
 select text, edit it, and perform clipboard operations for the mobility 
 impaired. It is additional work to have a voice reco solution have to go 
 through the additional work of doing the additional keyboard simulations for 
 doing that function. 
 
 So, these are single actions. AccessibleEditableText also allows you to 
 replace text, and set attributes, which takes offsets and replacement 
 text/attributes. Accessible actions are single action functions that don't 
 take parameters. ReplaceText is not the same as pasting from the clipboard. 
 It is really nice to have all the features in the same interface. Note: One 
 could bind the single command functions (cut, copy, paste) to the same 
 actions in accessible actions.
 
 The other problem you have with actions is where do you apply it. Do you 
 know to apply it only to the document. If Editable text is applied to text 
 content within the document then you should now where to find the interface. 
 
 Rich
 
 
 Rich Schwerdtfeger
 
___
Accessibility-ia2 mailing list
Accessibility-ia2@lists.linuxfoundation.org
https://lists.linuxfoundation.org/mailman/listinfo/accessibility-ia2


Re: [Accessibility-ia2] IA2 1.3 ready for review

2013-02-04 Thread Richard Schwerdtfeger
Whe are relations deprecated? They are used extensively in both FF, Chrome, and 
Symphony.

Rich

Sent from my iPad

On Feb 4, 2013, at 8:32 PM, Pete Brunet p...@a11ysoft.com wrote:

 
 On 10/10/12 1:29 AM, James Teh wrote:
 Hi all, 
 
 Sorry for taking so long. Here is my feedback: 
 
 Accessible2.idl: 
 IAccessible2 has been removed from the Interfaces section. It should still 
 be included. (I see Pete has already acknowledged this.) 
 I'm not sure it makes sense to say the older interfaces (except 
 IAccessibleTable, which has essentially been completely replaced) are 
 deprecated, as the newer ones subclass them.
 I've removed the deprecated text from IAHypertext and IAText.  I think it 
 still make sense to indicate IARelation is deprecated.
 The IAccessible2 interface still contains the modifications relevant to 
 IAccessible2_2. Specifically, the max parameters for extendedStates and 
 localizedExtendedStates have been removed and the new methods attribute, 
 accessibleWithCaret and relationTargetsOfType have been added. I assume this 
 was unintentional in this latest version. This critical, as it will breka 
 binary compatibility.
 Yes, That was unintentional.  I diffed the old and new IAccessible2 and fixed 
 the problems.
 
 
 AccessibleDocument.idl: 
 Regarding IAccessibleDocument::anchorTarget, I wonder whether a relation 
 fits here, which would eliminate the need for this interface. I think this 
 was discussed before, but I can't remember why this idea was dropped. After 
 all, it just returns an accessible.
 Back on 12 Feb 12 you said:
 I feel a relation fits well enough here, but I don't feel strongly enough 
 about it to fight for it if others disagree. I'd pose the question: what 
 makes this so special as to justify a new method? Why is it more special 
 than, say, flowsTo or labelledBy? I guess it doesn't fit relations entirely, 
 as it isn't strictly related so much as state information. If that argument 
 is consensus, fair enough. 
 And I responded:
 Thanks Jamie, It appears there is no strong preference by anyone for any of 
 the various options.  Your observation about state vs relationship is 
 interesting and is enough to motivate me to choose a method over a relation.
 
 AccessibleHypertext2.idl: 
 The comments for the IAccessibleHypertext2 interface say: 
  The %IAccessibleHypertext interface is the main interface to expose 
   hyperlinks in a document, typically a text document... 
 This is a bit confusing, as this documentation is for IAccessibleHypertext2, 
 not IAccessibleHypertext. It should probably just mention that this extends 
 IAccessibleHypertext. 
 The same goes for IAccessibleText2.
 Thanks Jamie, I fixed that.
 
 I'll reply to Alex's feedback separately. 
 
 Thanks, 
 Jamie 
 
 On 21/09/2012 12:22 PM, Pete Brunet wrote: 
 I finished up the IA2 1.3 work over the weekend but due to some changes 
 on the LF web site am unable to post it there.  I've provided it at 
 a11ysoft.com.  Please review it.  I won't get to the object attributes 
 until later (to add explicit-name). 
 
 documentation: http://a11ysoft.com/ia2/docs/html 
 zip file: http://a11ysoft.com/ia2.zip 
 
 The one bug I see so far is that I don't have a link for the 
 IAccessible2 interface on the main page.  That is at: 
 http://www.a11ysoft.com/ia2/docs/html/interface_i_accessible2.html 
 
 The zip file contains everything I'll eventually post on the LF site, 
 among other things, changelog.txt and the merged IDL file, ia2_api_all.idl. 
 
 Pete 
 -- 
 *Pete Brunet* 
 
 a11ysoft - Accessibility Architecture and Development 
 (512) 467-4706 (work), (512) 689-4155 (cell) 
 Skype: pete.brunet 
 IM: ptbrunet (AOL, Google), ptbru...@live.com (MSN) 
 http://www.a11ysoft.com/about/ 
 Ionosphere: WS4G 
 
 
 ___ 
 Accessibility-ia2 mailing list 
 Accessibility-ia2@lists.linuxfoundation.org 
 https://lists.linuxfoundation.org/mailman/listinfo/accessibility-ia2
 
 -- 
 Pete Brunet
  
 a11ysoft - Accessibility Architecture and Development
 (512) 467-4706 (work), (512) 689-4155 (cell)
 Skype: pete.brunet
 IM: ptbrunet (AOL, Google), ptbru...@live.com (MSN)
 http://www.a11ysoft.com/about/
 Ionosphere: WS4G 
  ___
 Accessibility-ia2 mailing list
 Accessibility-ia2@lists.linuxfoundation.org
 https://lists.linuxfoundation.org/mailman/listinfo/accessibility-ia2
___
Accessibility-ia2 mailing list
Accessibility-ia2@lists.linuxfoundation.org
https://lists.linuxfoundation.org/mailman/listinfo/accessibility-ia2


Re: [Accessibility-ia2] IA2 1.3 ready for review

2013-02-04 Thread Richard Schwerdtfeger
It appears the relations were moved to the new ia22 interface. Is that why you 
are deprecating the relations interface?

Sent from my iPad

On Feb 4, 2013, at 10:15 PM, Richard Schwerdtfeger sch...@us.ibm.com wrote:

 Whe are relations deprecated? They are used extensively in both FF, Chrome, 
 and Symphony.
 
 Rich
 
 Sent from my iPad
 
 On Feb 4, 2013, at 8:32 PM, Pete Brunet p...@a11ysoft.com wrote:
 
 
 On 10/10/12 1:29 AM, James Teh wrote:
 Hi all, 
 
 Sorry for taking so long. Here is my feedback: 
 
 Accessible2.idl: 
 IAccessible2 has been removed from the Interfaces section. It should still 
 be included. (I see Pete has already acknowledged this.) 
 I'm not sure it makes sense to say the older interfaces (except 
 IAccessibleTable, which has essentially been completely replaced) are 
 deprecated, as the newer ones subclass them.
 I've removed the deprecated text from IAHypertext and IAText.  I think it 
 still make sense to indicate IARelation is deprecated.
 The IAccessible2 interface still contains the modifications relevant to 
 IAccessible2_2. Specifically, the max parameters for extendedStates and 
 localizedExtendedStates have been removed and the new methods attribute, 
 accessibleWithCaret and relationTargetsOfType have been added. I assume 
 this was unintentional in this latest version. This critical, as it will
breka binary compatibility.
 Yes, That was unintentional.  I diffed the old and new IAccessible2 and 
 fixed the problems.
 
 
 AccessibleDocument.idl: 
 Regarding IAccessibleDocument::anchorTarget, I wonder whether a relation 
 fits here, which would eliminate the need for this interface. I think this 
 was discussed before, but I can't remember why this idea was dropped. After 
 all, it just returns an accessible.
 Back on 12 Feb 12 you said:
 I feel a relation fits well enough here, but I don't feel strongly enough 
 about it to fight for it if others disagree. I'd pose the question: what 
 makes this so special as to justify a new method? Why is it more special 
 than, say, flowsTo or labelledBy? I guess it doesn't fit relations entirely, 
 as it isn't strictly related so much as state information. If that 
 argument is consensus, fair enough. 
 And I responded:
 Thanks Jamie, It appears there is no strong preference by anyone for any of 
 the various options.  Your observation about state vs relationship is 
 interesting and is enough to motivate me to choose a method over a relation.
 
 AccessibleHypertext2.idl: 
 The comments for the IAccessibleHypertext2 interface say: 
  The %IAccessibleHypertext interface is the main interface to expose 
   hyperlinks in a document, typically a text document... 
 This is a bit confusing, as this documentation is for 
 IAccessibleHypertext2, not IAccessibleHypertext. It should probably just 
 mention that this extends IAccessibleHypertext.   
 The same goes for IAccessibleText2.
 Thanks Jamie, I fixed that.
 
 I'll reply to Alex's feedback separately. 
 
 Thanks, 
 Jamie 
 
 On 21/09/2012 12:22 PM, Pete Brunet wrote: 
 I finished up the IA2 1.3 work over the weekend but due to some changes 
 on the LF web site am unable to post it there.  I've provided it at 
 a11ysoft.com.  Please review it.  I won't get to the object attributes 
 until later (to add explicit-name). 
 
 documentation: http://a11ysoft.com/ia2/docs/html 
 zip file: http://a11ysoft.com/ia2.zip 
 
 The one bug I see so far is that I don't have a link for the 
 IAccessible2 interface on the main page.  That is at: 
 http://www.a11ysoft.com/ia2/docs/html/interface_i_accessible2.html 
 
 The zip file contains everything I'll eventually post on the LF site, 
 among other things, changelog.txt and the merged IDL file, 
 ia2_api_all.idl. 
 
 Pete 
 -- 
 *Pete Brunet* 
 
 a11ysoft - Accessibility Architecture and Development 
 (512) 467-4706 (work), (512) 689-4155 (cell) 
 Skype: pete.brunet 
 IM: ptbrunet (AOL, Google), ptbru...@live.com (MSN) 
 http://www.a11ysoft.com/about/ 
 Ionosphere: WS4G 
 
 
 ___ 
 Accessibility-ia2 mailing list 
 Accessibility-ia2@lists.linuxfoundation.org 
 https://lists.linuxfoundation.org/mailman/listinfo/accessibility-ia2
 
 -- 
 Pete Brunet
  
 a11ysoft - Accessibility Architecture and Development
 (512) 467-4706 (work), (512) 689-4155 (cell)
 Skype: pete.brunet
 IM: ptbrunet (AOL, Google), ptbru...@live.com (MSN)
 http://www.a11ysoft.com/about/
 Ionosphere: WS4G 
  ___
 Accessibility-ia2 mailing list
 Accessibility-ia2@lists.linuxfoundation.org
 https://lists.linuxfoundation.org/mailman/listinfo/accessibility-ia2
 ___
 Accessibility-ia2 mailing list
 Accessibility-ia2@lists.linuxfoundation.org
 https://lists.linuxfoundation.org/mailman/listinfo/accessibility-ia2
___
Accessibility-ia2 mailing list

Re: [Accessibility-ia2] IA2 1.3 ready for review

2013-02-04 Thread Richard Schwerdtfeger
Partially.

So, cut, copy copy selected text to the clipboard. The details are handled by 
the rouser. Paste pasts to selected text or the insertion point (collapsed 
selection). What is the concern about clipboard functionality?

Rich

Sent from my iPad

On Feb 4, 2013, at 10:18 PM, Pete Brunet p...@a11ysoft.com wrote:

 
 On 2/4/13 4:56 PM, Richard Schwerdtfeger wrote:
 Did you check with Nuance? What appends if replacetext is removed?
 If you have a contact at Nuance please ask them to join the list.
 
 Only the clipboard methods are deprecated, which bascially means don't use 
 the cut/copy/paste methods until the IA2 spec can be changed to support the 
 varying implementations and ambiguities of clipboard functionality.  The rest 
 of the methods are not deprecated, i.e. deleteText, insertText, replaceText, 
 and setAttributes.  Does that clarification help at all?
 
 Even if Nuance has not implemented it for say FF has someone approached 
 them? We can' t just  be supporting vision impairments.
 
 Sent from my iPad
 
 On Feb 4, 2013, at 9:35 PM, Pete Brunet p...@a11ysoft.com wrote:
 
 Hi Rich, At this point, since we couldn't find consensus and since this 
 release was supposed to done last Fall and since I was informed that noone 
 has implemented or shown a need for the three clipboard operations, I'm 
 inclined to not hold up the release any further and handle this in a 
 follow-on release if a project comes along that needs clipboard 
 functionality and provides resource to drive the spec toward a well thought 
 out definition of the clipboard methods.
 
 Pete
 
 On 2/4/13 8:51 PM, Richard Schwerdtfeger wrote:
 Hi Pete,
 
 The reason for the editing functions was to allow a voice reco solution to 
 select text, edit it, and perform clipboard operations for the mobility 
 impaired. It is additional work to have a voice reco solution have to go 
 through the additional work of doing the additional keyboard simulations 
 for doing that function. 
 
 So, these are single actions. AccessibleEditableText also allows you to 
 replace text, and set attributes, which takes offsets and replacement 
 text/attributes. Accessible actions are single action functions that don't 
 take parameters. ReplaceText is not the same as pasting from the 
 clipboard. It is really nice to have all the features in the same 
 interface. Note: One could bind the single command functions (cut, copy, 
 paste) to the same actions in accessible actions.
 
 The other problem you have with actions is where do you apply it. Do you 
 know to apply it only to the document. If Editable text is applied to text 
 content within the document then you should now where to find the 
 interface. 
 
 Rich
 
 
 Rich Schwerdtfeger
 
 -- 
 Pete Brunet
  
 a11ysoft - Accessibility Architecture and Development
 (512) 467-4706 (work), (512) 689-4155 (cell)
 Skype: pete.brunet
 IM: ptbrunet (AOL, Google), ptbru...@live.com (MSN)
 http://www.a11ysoft.com/about/
 Ionosphere: WS4G 
___
Accessibility-ia2 mailing list
Accessibility-ia2@lists.linuxfoundation.org
https://lists.linuxfoundation.org/mailman/listinfo/accessibility-ia2


Re: [Accessibility-ia2] IA2 1.3 ready for review

2012-09-25 Thread Richard Schwerdtfeger

Copy that. I just got back from vacation and am slammed.

Rich


Rich Schwerdtfeger



From:   James Teh ja...@nvaccess.org
To: IAccessible2 mailing list
accessibility-ia2@lists.linuxfoundation.org,
Date:   09/25/2012 02:14 AM
Subject:Re: [Accessibility-ia2] IA2 1.3 ready for review
Sent by:accessibility-ia2-boun...@lists.linuxfoundation.org



I do intend to review this thoroughly. However, it may be a few days
before I can get to it.

Jamie

On 21/09/2012 12:22 PM, Pete Brunet wrote:
 I finished up the IA2 1.3 work over the weekend but due to some changes
 on the LF web site am unable to post it there.  I've provided it at
 a11ysoft.com.  Please review it.  I won't get to the object attributes
 until later (to add explicit-name).

 documentation: http://a11ysoft.com/ia2/docs/html
 zip file: http://a11ysoft.com/ia2.zip

 The one bug I see so far is that I don't have a link for the
 IAccessible2 interface on the main page.  That is at:
 http://www.a11ysoft.com/ia2/docs/html/interface_i_accessible2.html

 The zip file contains everything I'll eventually post on the LF site,
 among other things, changelog.txt and the merged IDL file,
ia2_api_all.idl.

 Pete
 --
 *Pete Brunet*

 a11ysoft - Accessibility Architecture and Development
 (512) 467-4706 (work), (512) 689-4155 (cell)
 Skype: pete.brunet
 IM: ptbrunet (AOL, Google), ptbru...@live.com (MSN)
 http://www.a11ysoft.com/about/
 Ionosphere: WS4G


 ___
 Accessibility-ia2 mailing list
 Accessibility-ia2@lists.linuxfoundation.org
 https://lists.linuxfoundation.org/mailman/listinfo/accessibility-ia2


--
James Teh
Director, NV Access Limited
Email: ja...@nvaccess.org
Web site: http://www.nvaccess.org/
Phone: +61 7 5667 8372
___
Accessibility-ia2 mailing list
Accessibility-ia2@lists.linuxfoundation.org
https://lists.linuxfoundation.org/mailman/listinfo/accessibility-ia2

inline: graycol.gif___
Accessibility-ia2 mailing list
Accessibility-ia2@lists.linuxfoundation.org
https://lists.linuxfoundation.org/mailman/listinfo/accessibility-ia2


Re: [Accessibility-ia2] HTML table summary mapping to IA2

2011-09-02 Thread Richard Schwerdtfeger

ok

Rich Schwerdtfeger
CTO Accessibility Software Group



From:   Pete Brunet p...@a11ysoft.com
To:
Cc: IAccessible2 mailing list
accessibility-...@lists.linux-foundation.org
Date:   09/02/2011 03:05 PM
Subject:Re: [Accessibility-ia2] HTML table summary mapping to IA2
Sent by:accessibility-ia2-boun...@lists.linuxfoundation.org



Hi Rich, I was thinking the AT would try the relation first and if it
didn't exist then try accDescription, but the way you described would work
too.  And yes both summary and caption would be deprecated.

On 9/2/2011 2:46 PM, Richard Schwerdtfeger wrote:


  That works for me. So if summary is null  or an empty string then an
  AT should look to the describedby relationship.

  So, what will you do with caption? Will you deprecate it?


  Rich Schwerdtfeger
  CTO Accessibility Software Group

  Inactive hide details for Pete Brunet ---09/02/2011
  02:29:00
  PM---Are there any objections to the following?
  Deprecate
  IATable2Pete Brunet ---09/02/2011 02:29:00 PM---Are there any
  objections to the following? Deprecate IATable2::summary and caption,
  adding the follo

  From: Pete Brunet p...@a11ysoft.com
  To: IAccessible2 mailing list
  accessibility-...@lists.linux-foundation.org
  Date: 09/02/2011 02:29 PM
  Subject: Re: [Accessibility-ia2] HTML table summary mapping to IA2
  Sent by: accessibility-ia2-boun...@lists.linuxfoundation.org





  Are there any objections to the following?

  Deprecate IATable2::summary and caption, adding the following notes:

  summary:  If the summary is a simple string return it via MSAA's
  get_accDescription.  If the summary consists of a hierarchy of
  objects provide an IA2_RELATION_DESCRIBED_BY relation.
  caption:  Provide an IA2_RELATION_LABELED_BY relation.

  Pete
  --
  Pete Brunet

  a11ysoft - Accessibility Architecture and Development
  (512) 467-4706 (work), (512) 689-4155 (cell)
  Skype: pete.brunet
  IM: ptbrunet (AOL, Google), ptbru...@live.com (MSN)
  http://www.a11ysoft.com/about/
  Ionosphere: WS4G

  On 8/30/2011 1:30 PM, Richard Schwerdtfeger wrote:

Hi Alex,

Summary is the equivalent of a text description that can be
mapped to accDescription. The summary is not visible to sighted
users. So, it behaves the same way as a hidden aria-descibedby.
We should start being consistent in the way that we provide
information.

Captions are visible labels that have an object associated with
them and a label relation should be used.

We could apply a role of caption to the caption label if we had
one. I see no need for additional methods in
IAccessible2Table2.

Rich


Rich Schwerdtfeger
CTO Accessibility Software Group

Inactive hide details for Alexander Surkov ---08/30/2011
01:22:56 PM---When I started this thread I assumed that
summary and caAlexander Surkov ---08/30/2011 01:22:56 PM---When
I started this thread I assumed that summary and caption are
semantically different than name (

From: Alexander Surkov surkov.alexan...@gmail.com
To: p...@a11ysoft.com
Cc: IAccessible2 mailing list
accessibility-...@lists.linux-foundation.org
Date: 08/30/2011 01:22 PM
Subject: Re: [Accessibility-ia2] HTML table summary mapping to
IA2
Sent by: accessibility-ia2-boun...@lists.linuxfoundation.org


When I started this thread I assumed that summary and caption
are
semantically different than name (label relation) and
description
(description relation) and AT wants to have an access to them.
If this
makes sense then we should go with VARIANT approach, otherwise
summary
and caption should be deprecated. Do we have any use cases from
AT
perspective?

Thank you.
Alex.


On Tue, Aug 30, 2011 at 3:44 AM, Pete Brunet
p...@a11ysoft.com wrote:
 I've been discussing this with Rich: rather than creating
IATable3 and
 having summary return a VARIANT which could then return
either a BSTR
 (for HTML) or an object (for other non-browser
implementations), a
 solution with less impact would be to deprecate summary and
add a
 comment that describedBy should be used when the description
is provided
 by an object (or tree of objects) or accDescription
otherwise.  That
 seems acceptable for non-browser implementations as well.
What

Re: [Accessibility-ia2] HTML table summary mapping to IA2

2011-08-31 Thread Richard Schwerdtfeger

Hi Alex,

Summary is the equivalent of a text description that can be mapped to
accDescription. The summary is not visible to sighted users. So, it behaves
the same way as a hidden aria-descibedby. We should start being consistent
in the way that we provide information.

Captions are visible labels that have an object associated with them and a
label relation should be used.

We could apply a role of caption to the caption label if we had one. I see
no need for additional methods in IAccessible2Table2.

Rich

Rich Schwerdtfeger
CTO Accessibility Software Group



From:   Alexander Surkov surkov.alexan...@gmail.com
To: p...@a11ysoft.com
Cc: IAccessible2 mailing list
accessibility-...@lists.linux-foundation.org
Date:   08/30/2011 01:22 PM
Subject:Re: [Accessibility-ia2] HTML table summary mapping to IA2
Sent by:accessibility-ia2-boun...@lists.linuxfoundation.org



When I started this thread I assumed that summary and caption are
semantically different than name (label relation) and description
(description relation) and AT wants to have an access to them. If this
makes sense then we should go with VARIANT approach, otherwise summary
and caption should be deprecated. Do we have any use cases from AT
perspective?

Thank you.
Alex.


On Tue, Aug 30, 2011 at 3:44 AM, Pete Brunet p...@a11ysoft.com wrote:
 I've been discussing this with Rich: rather than creating IATable3 and
 having summary return a VARIANT which could then return either a BSTR
 (for HTML) or an object (for other non-browser implementations), a
 solution with less impact would be to deprecate summary and add a
 comment that describedBy should be used when the description is provided
 by an object (or tree of objects) or accDescription otherwise.  That
 seems acceptable for non-browser implementations as well.  What do you
 think?

 Pete

 On 8/23/2011 8:50 AM, Pete Brunet wrote:
 For the 1.3 release, let me know if anyone is opposed to creating
 IATable3 with summary and caption changed to return a VARIANT instead of
 an IUnknown.

 On 8/22/2011 9:48 AM, Brett Lewis wrote:
 Hi,
 What prompted this thread for me is my trying to obtain caption and
 summary via the IAccessibleTable interface.
 By convention using name and description is fine but doesn't really
seem
 to correctly implement IAccessibleTable and is only somewhat intuitive.
 I like the idea of having the get_summary and get_Caption return a
 variant with either the text or the IAccessible.
 Brett


 -Original Message-
 From: Alexander Surkov [mailto:surkov.alexan...@gmail.com]
 Sent: Monday, August 08, 2011 8:58 PM
 To: James Teh
 Cc: IAccessible2 mailing list; Brett Lewis
 Subject: Re: [Accessibility-ia2] HTML table summary mapping to IA2

 Hi, Jamie. It appears AT want to get summary and caption (not a name or
 description since they can be different).

 Brett, do you have scenarios to share?

 Thank you.
 Alex.


 On Tue, Aug 9, 2011 at 12:42 PM, James Teh ja...@nvaccess.org wrote:
 Hi Alex,

 Why are accName/accDescription insufficient?

 Thanks,
 Jamie

 On 9/08/2011 1:36 PM, Alexander Surkov wrote:
 Hi.

 IATable2 provides caption and summary properties that return
 accessible objects. HTML table summary is provided by @summary
 attribute so there's no accessible object that's created from DOM
 element. This can be workarounded by artificial accessible object
 creation that is attached or not attached to the tree but this
 complicates implementation and I would try to avoid it. Can we extend
 the IAccessibleTable2 by summaryText and captionText attributes or
 introduce summary and caption object attributes on table accessible
 if interface change is not desired for this?

 Thank you.
 Alexander.
 ___
 Accessibility-ia2 mailing list
 Accessibility-ia2@lists.linuxfoundation.org
 https://lists.linux-foundation.org/mailman/listinfo/accessibility-ia2
 --
 James Teh
 Vice President, Developer
 NV Access Inc, ABN 61773362390
 Email: ja...@nvaccess.org
 Web site: http://www.nvaccess.org/
 ___
 Accessibility-ia2 mailing list
 Accessibility-ia2@lists.linuxfoundation.org
 https://lists.linux-foundation.org/mailman/listinfo/accessibility-ia2

 ___
 Accessibility-ia2 mailing list
 Accessibility-ia2@lists.linuxfoundation.org
 https://lists.linux-foundation.org/mailman/listinfo/accessibility-ia2



 ___
 Accessibility-ia2 mailing list
 Accessibility-ia2@lists.linuxfoundation.org
 https://lists.linux-foundation.org/mailman/listinfo/accessibility-ia2



 ___
 Accessibility-ia2 mailing list
 Accessibility-ia2@lists.linuxfoundation.org
 https://lists.linux-foundation.org/mailman/listinfo/accessibility-ia2

___
Accessibility-ia2 mailing list
Accessibility-ia2@lists.linuxfoundation.org

Re: [Accessibility-ia2] How is MSAA+IA2 used for live regions

2011-07-08 Thread Richard Schwerdtfeger

Hi Pete,

Pleas look at the ARIA implementation guide:

http://www.w3.org/WAI/PF/aria-implementation/#mapping_events

Section 5.8.2 will show the events fired for document changes within a live
region

aria-live is not a state. It is a property so you need only look at the
property API mapping.

Now, how a Braille device is driven in response to an out of context event
in polite mode is a function of the AT implementation. Polite basically
says  to notify the user when you get around to it. If the response were
rude the Braille device should be driven immediately. I don't know if there
is some timing delay between each item that is announced. There probably
should be.

Rich

Rich Schwerdtfeger
CTO Accessibility Software Group



From:   Pete Brunet p...@a11ysoft.com
To: IA2 List accessibility-...@lists.linux-foundation.org
Date:   07/08/2011 08:52 AM
Subject:Re: [Accessibility-ia2] How is MSAA+IA2 used for live regions
Sent by:accessibility-ia2-boun...@lists.linuxfoundation.org



Thanks Alex, Do you have a link to the Mozilla spec for the container-*
object attributes?

On 7/8/2011 8:25 AM, Alexander Surkov wrote:
 Hi, Pete.

 Accessible object exposes ARIA live attributes as object attributes,
 all its descendants expose these attributes with container- prefix.
 When DOM underneath the aria live region is changed then accessible
 show/hide events are fired. AT listens these events and use object
 attributes to announce the change.

 Alex.


 On Fri, Jul 8, 2011 at 10:04 PM, Pete Brunet p...@a11ysoft.com wrote:
 What aspects of MSAA+IA2 are used to implement live regions?

 --
 Pete Brunet

 a11ysoft - Accessibility Architecture and Development
 (512) 467-4706 (work), (512) 689-4155 (cell)
 Skype: pete.brunet
 IM: ptbrunet (AOL, Google), ptbru...@live.com (MSN)
 http://www.a11ysoft.com/about/
 Ionosphere: WS4G

 ___
 Accessibility-ia2 mailing list
 Accessibility-ia2@lists.linuxfoundation.org
 https://lists.linux-foundation.org/mailman/listinfo/accessibility-ia2


___
Accessibility-ia2 mailing list
Accessibility-ia2@lists.linuxfoundation.org
https://lists.linux-foundation.org/mailman/listinfo/accessibility-ia2
inline: graycol.gif___
Accessibility-ia2 mailing list
Accessibility-ia2@lists.linuxfoundation.org
https://lists.linux-foundation.org/mailman/listinfo/accessibility-ia2


Re: [Accessibility-ia2] next changes to IAccessible2

2011-06-28 Thread Richard Schwerdtfeger
So, we are discussing making canvas accessible. Currently accessible
objects take bounding rectangles yet drawing objects can be more complex.
Should we introduce a drawing path to the API vs doing a best fit to a
rectangle?

Rich

Rich Schwerdtfeger
CTO Accessibility Software Group



From:   Pete Brunet p...@a11ysoft.com
To:
Cc: IA2 List accessibility-...@lists.linux-foundation.org
Date:   06/28/2011 01:57 PM
Subject:Re: [Accessibility-ia2] next changes to IAccessible2
Sent by:accessibility-ia2-boun...@lists.linuxfoundation.org



AT devs, do you use IAccessibleEditableText?

Is there a kind of AT that can't use the GUI for clipboard operations?
The same question often comes up regarding IAccessibleAction, i.e. why
have actions if the same thing can be done via the GUI.  My
understanding is that this is for those who can't use the mouse and
keyboard.  Do ATs for those users not have the ability to use GUI menus?

Pete

On 6/28/2011 2:29 AM, Malte Timmermann wrote:
 Actually, it's also not clear to me why the clipboard stuff exists at
all.

 Maybe it was introduced with JAA/ATK, because there is no standard
 platform mechanism on all supported platforms?

 I don't know - how would an AT tell any application on GNOME or Mac to
 copy/paste, w/o faking some key events?

 The clipboard API is incomplete anyway. For example, I don't have an
 equivalent API for copy/paste on a drawing document or a bitmap editor.
 Only for objects supporting accessible text.

 Malte.

 Carolyn MacLeod wrote, On 27.06.2011 21:06:
 An excellent point, Peter.

 In fact, I just read Malte's discussion on the same API, and something
 he said - If [the user] really is interested in selecting a certain
 format, he can use the dialog in the application. - reminded me of our
 initial reaction when we were asked to implement
 IAccessibleEditableText::copyText, cutText, and pasteText in our
 StyledText control namely, Why??.

 Why do AT need a separate way of doing something that every editable
 text control already provides by a multitude of standard platform
 mechanisms?

 I still don't have the answer. However, since we implemented
 IAccessibleEditableText in order to provide insert/replace/delete and
 allow setting of attributes, we then implemented cut/copy/paste anyway,
 but only because they were in the same interface.

 Our second question was What are the offsets for? Why not just use the
 selection?. The answer to that was that since IAccessibleText::copy
 needed offsets because there might not be a selection, someone decided
 that IAccessibleEditableText cut/copy/paste needed offsets, too, for
 consistency. This was an unfortunate decision, because it gives these
 methods a very strange side effect: the server is forced to change the
 selection to match the offsets before doing the clipboard operation. We
 grudgingly implemented these methods, and hoped that no AT would ever
 send us any offsets other than those for the already existing selection.
  :)

 (Epilogue: I cannot find a definition of IAccessibleText::copy anywhere,
 so the original reason that there are offsets for the clipboard methods
 has been completely lost in the mists of time).

 Now, since multi-selection makes the strange semantics even stranger, I
 am happy to revert back to our initial impression that
 IAccessibleEditibleText[2] doesn't need clipboard operations at
all.   :)

 Carolyn


 From: Peter Korn peter.k...@oracle.com
 To:   Carolyn MacLeod/Ottawa/IBM@IBMCA
 Cc:   Alexander Surkov surkov.alexan...@gmail.com,
 accessibility-ia2-boun...@lists.linuxfoundation.org, IA2 List
 accessibility-...@lists.freestandards.org
 Date: 27/06/2011 02:22 PM
 Subject:  Re: [Accessibility-ia2] next changes to
IAccessible2


 



 Carolyn, gang,

 Before we get too deep into (re-) designing this API... Do we have a
 clear set of use cases?  What AT do we expect to call this/these API
 call(s), supporting which use cases?


 Regards,

 Peter

 On 6/27/2011 11:13 AM, Carolyn MacLeod wrote:

 Hi, all.

 Regarding *IAccessibleEditableText2::pasteText(startOffset, endOffset,
 mimeType)*:

 1) If we are going to use mime type to specify the clipboard format,
 then I think we need an explicit mapping from mime type to
 platform-specific clipboard format so that AT and server are both
 speaking the same language. For example, something like:
 MIME type Windows GTK/ATK
 text/plainCF_TEXT (predefined)gdk_atom_intern
(COMPOUND_TEXT)
 gdk_atom_intern(UTF8_STRING)
 gdk_atom_intern(STRING)
 text/rtf  CF_RTF = RegisterClipboardFormat(Rich Text Format)
 gdk_atom_intern(text/rtf)
 gdk_atom_intern(TEXT/RTF)
 gdk_atom_intern(application/rtf)
 text/html CF_HTML = RegisterClipboardFormat(HTML Format)
 gdk_atom_intern(text/html)
 gdk_atom_intern(TEXT/HTML)




 

Re: [Accessibility-ia2] next changes to IAccessible2

2011-06-22 Thread Richard Schwerdtfeger


Rich Schwerdtfeger
CTO Accessibility Software Group

accessibility-ia2-boun...@lists.linuxfoundation.org wrote on 06/22/2011
11:16:41 AM:

 From: Pete Brunet p...@a11ysoft.com
 To: IA2 List accessibility-...@lists.linux-foundation.org
 Date: 06/22/2011 11:19 AM
 Subject: Re: [Accessibility-ia2] next changes to IAccessible2
 Sent by: accessibility-ia2-boun...@lists.linuxfoundation.org


 On 6/22/2011 8:27 AM, Richard Schwerdtfeger wrote:
 Pete,

 I am looking at accessibleDocument. Should we not do more than that
 for a document interface? Should we also have features to collect
 and access specific objects with a specific element type - filtering
 mechanisms?
 Hi Rich, It's been a long time since I looked at accessibleDocument.
 (It's not part of IA2.)  I couldn't find a link in my archives.
 Please send it.  Would that discussion be better held on the parent
 LF a11y list at accessibil...@lists.linux-foundation.org ?  That
 will also be of interest to the Linux a11y architects.

I have no idea. I just found it odd that we would add only one method for a
document.

 Note: I am in favor of not unnecessarily growing the API. API
 changes cause a lot of churn. However, with the FCC adopting
 creating new laws based on the 21st Century Communication and Video
 act there is a need for infrastructure to better support the HTML 5
 changes Silvia is working on to support video and audio.

 I am looking at the notification mechanism for media
 MEDIA_TEXT_QUEUE_CHANGE. Would it be better to have a callback
 registry for ATs similar to what we did in Java? I am concerned
 about potential OS scheduling issues caused by posting events to the
 message queue.
 We've talked about adding something to get around the limitations of
 WinEvent, primarily the lack of an event payload so out of process
 AT don't have to use (and possibly get stale data) on a following
 call fetching event data.  It's not become enough of an issue that
 the group has pushed that change through though.

 For in process AT the callback happens on the same thread that fires
 the event.  Jamie might be able to comment on what problems there
 might be for out of process AT when handing a cue change event.


I think the difference here is we are trying to keep the video and audio
descriptions in synch. That adds an additional level of concern for me. I
will look to see what Jamie says. Descriptions could be quite long.



 Rich Schwerdtfeger
 CTO Accessibility Software Group

 [image removed] Pete Brunet ---06/06/2011 11:12:32 PM---Hi all,
 Please take a look at this and provide your feedback: https://
 wiki.mozilla.org/Accessibility

 From: Pete Brunet p...@a11ysoft.com
 To: IA2 List accessibility-...@lists.freestandards.org
 Date: 06/06/2011 11:12 PM
 Subject: Re: [Accessibility-ia2] next changes to IAccessible2
 Sent by: accessibility-ia2-boun...@lists.linuxfoundation.org



 Hi all, Please take a look at this and provide your feedback:

 https://wiki.mozilla.org/Accessibility/IA2_1.3

 Thanks, Pete
 --
 Pete Brunet

 a11ysoft - Accessibility Architecture and Development
 (512) 238-6967 (work), (512) 689-4155 (cell)
 Skype: pete.brunet
 IM: ptbrunet (AOL, Google), ptbru...@live.com (MSN)
 http://www.a11ysoft.com/about/
 Ionosphere: WS4G

 On 3/11/2011 11:10 PM, Alexander Surkov wrote:
 Hi, Jamie. I missed Mick suggestion on the list. It's sounds
 reasonable and I agree we should try it before getting new API for
 this since the issue is mostly about events.

 Thank you.
 Alex.


 On Sat, Mar 12, 2011 at 11:43 AM, James Teh ja...@nvaccess.org wrote:
 Hi.

 Nice work; good to get the discussion going. :)

 I still don't see a need for this registry API. Why not just use
 IsWinEventHookInstalled(), as Mick suggested on the IA2 list?

 Thanks.

 Jamie


 On 12/03/2011 3:48 AM, Alexander Surkov wrote:
 Hi.

 I gathered ideas into one doc -
 https://wiki.mozilla.org/Accessibility/IA2_1.3. Please give feedback
 here and feel free to edit the wiki.

 Thank you.
 Alex.

 --
 James Teh
 Vice President, Developer
 NV Access Inc, ABN 61773362390
 Email: ja...@nvaccess.org
 Web site: http://www.nvaccess.org/
 ___
 Accessibility-ia2 mailing list
 Accessibility-ia2@lists.linuxfoundation.org
 https://lists.linux-foundation.org/mailman/listinfo/accessibility-ia2
 ___
 Accessibility-ia2 mailing list
 Accessibility-ia2@lists.linuxfoundation.org
 https://lists.linux-foundation.org/mailman/listinfo/accessibility-ia2___
Accessibility-ia2 mailing list
Accessibility-ia2@lists.linuxfoundation.org
https://lists.linux-foundation.org/mailman/listinfo/accessibility-ia2


Re: [Accessibility-ia2] next changes to IAccessible2

2011-06-20 Thread Richard Schwerdtfeger

James, most screen readers access these APIs in-process. Consequently, I am
concerned about how the data is accessed and processed by the browser.

Rich Schwerdtfeger
CTO Accessibility Software Group



From:   James Teh ja...@nvaccess.org
To: IAccessible2 mailing list
accessibility-...@lists.linux-foundation.org
Date:   06/18/2011 01:12 AM
Subject:Re: [Accessibility-ia2] next changes to IAccessible2
Sent by:accessibility-ia2-boun...@lists.linuxfoundation.org



On 17/06/2011 10:49 PM, Richard Schwerdtfeger wrote:
 Well if you wanted to [have a way to fetch multiple object attributes]
the browser should implement a hashing
 algorithm for managing attributes. Otherwise, it will still be slow. How
 much performance improvement would you expect to get?
I'm not concerned about the speed of the browser. I'm concerned about
the performance hit of multiple cross-process calls for out-of-process
clients.

Jamie

--
James Teh
Vice President, Developer
NV Access Inc, ABN 61773362390
Email: ja...@nvaccess.org
Web site: http://www.nvaccess.org/
___
Accessibility-ia2 mailing list
Accessibility-ia2@lists.linuxfoundation.org
https://lists.linux-foundation.org/mailman/listinfo/accessibility-ia2
inline: graycol.gif___
Accessibility-ia2 mailing list
Accessibility-ia2@lists.linuxfoundation.org
https://lists.linux-foundation.org/mailman/listinfo/accessibility-ia2


Re: [Accessibility-ia2] Object Attributes spec needs work

2010-12-01 Thread Richard Schwerdtfeger

James,

We are going to need a more flexible way of supporting custom components
for the Web. Properties and states need to be discoverable and processable
- and so do custom roles. I think roles will end up becoming identifiers
for common design patterns. This will part of the work in ARIA 2.0. I would
appreciate your contribution to the effort.

We also need a way for the user to specify preferred types of content. What
is needed for a cognitively impaired user may be entirely different from
someone who is blind.

Rich

Rich Schwerdtfeger
CTO Accessibility Software Group



From:   James Teh ja...@nvaccess.org
To: IAccessible2 mailing list
accessibility-...@lists.linux-foundation.org
Date:   12/01/2010 04:19 AM
Subject:Re: [Accessibility-ia2] Object Attributes spec needs work
Sent by:accessibility-ia2-boun...@lists.linuxfoundation.org



On 1/12/2010 2:51 AM, David Bolter wrote:
 More and more I see a need for accessibility solutions to rely less on
 roles. We see some pretty interesting UI on the web, and the kinds of
 assumptions that could historically be made on the desktop, can no
 longer be made. I think we need to be able to describe UI more flexibly,
 ideally to be able to describe anything that innovators concoct.
This might be partially true, but it's also an excuse for bad design.
Far too often, these situations would be better served by creating
multiple related objects. For example, I'm not really sure i agree with
the idea of checkable table cells. These could just as well be treated
as a checkbox within a table cell.

Jamie

--
James Teh
Vice President
NV Access Inc, ABN 61773362390
Email: ja...@nvaccess.org
Web site: http://www.nvaccess.org/
___
Accessibility-ia2 mailing list
Accessibility-ia2@lists.linuxfoundation.org
https://lists.linux-foundation.org/mailman/listinfo/accessibility-ia2
inline: graycol.gif___
Accessibility-ia2 mailing list
Accessibility-ia2@lists.linuxfoundation.org
https://lists.linux-foundation.org/mailman/listinfo/accessibility-ia2


Re: [Accessibility-ia2] Object Attributes spec needs work

2010-12-01 Thread Richard Schwerdtfeger

We also need to start collecting new common design patterns on the Web and
ensure we are moving in the right direction on the infrastructure.

Rich Schwerdtfeger
CTO Accessibility Software Group



From:   David Bolter david.bol...@gmail.com
To: James Teh ja...@nvaccess.org
Cc: IAccessible2 mailing list
accessibility-...@lists.linux-foundation.org
Date:   12/01/2010 08:29 AM
Subject:Re: [Accessibility-ia2] Object Attributes spec needs work
Sent by:accessibility-ia2-boun...@lists.linuxfoundation.org



On 01/12/10 5:18 AM, James Teh wrote:
 On 1/12/2010 2:51 AM, David Bolter wrote:
 More and more I see a need for accessibility solutions to rely less on
 roles. We see some pretty interesting UI on the web, and the kinds of
 assumptions that could historically be made on the desktop, can no
 longer be made. I think we need to be able to describe UI more flexibly,
 ideally to be able to describe anything that innovators concoct.
 This might be partially true, but it's also an excuse for bad design.
 Far too often, these situations would be better served by creating
 multiple related objects. For example, I'm not really sure i agree with
 the idea of checkable table cells. These could just as well be treated
 as a checkbox within a table cell.


There are exceptions but in general, I would rather enhance API than
create multiple accessible objects for a single widget. I'm interested
to hear what others think.

I think it is important to discuss this, especially before ARIA.next
design begins.

Cheers,
David
___
Accessibility-ia2 mailing list
Accessibility-ia2@lists.linuxfoundation.org
https://lists.linux-foundation.org/mailman/listinfo/accessibility-ia2
inline: graycol.gif___
Accessibility-ia2 mailing list
Accessibility-ia2@lists.linuxfoundation.org
https://lists.linux-foundation.org/mailman/listinfo/accessibility-ia2


Re: [Accessibility-ia2] IA2_STATE_PINNED

2010-11-23 Thread Richard Schwerdtfeger

I have a hard time justifying an entire point release for one state. Are
there other things people would want to add?

Rich Schwerdtfeger
CTO Accessibility Software Group



From:   Pete Brunet p...@a11ysoft.com
To:
Cc: IAccessible2 mailing list
accessibility-...@lists.linux-foundation.org
Date:   11/23/2010 09:43 AM
Subject:Re: [Accessibility-ia2] IA2_STATE_PINNED
Sent by:accessibility-ia2-boun...@lists.linuxfoundation.org



How much of a churn would it be to add a new state constant?  We could do a
minor release, i.e. from 1.2 to 1.2.1 to add that constant.
--
Pete Brunet

a11ysoft - Accessibility Architecture and Development
(512) 238-6967 (work), (512) 689-4155 (cell)
Skype: pete.brunet
IM: ptbrunet (AOL, Google), ptbru...@live.com (MSN)
http://www.a11ysoft.com/about/
Ionosphere: WS4G

Richard Schwerdtfeger wrote:




  Rich Schwerdtfeger
  CTO Accessibility Software Group

  accessibility-ia2-boun...@lists.linuxfoundation.org wrote on
  11/18/2010 04:29:54 PM:

   From: James Teh ja...@nvaccess.org
   To: IAccessible2 mailing list
  accessibility-...@lists.linux-foundation.org
   Date: 11/18/2010 04:31 PM
   Subject: Re: [Accessibility-ia2] IA2_STATE_PINNED
   Sent by: accessibility-ia2-boun...@lists.linuxfoundation.org
  
   On 19/11/2010 8:18 AM, Richard Schwerdtfeger wrote:
For a state you have to run the IDL again. I am not arguing that
  we
should not provide a provision for pinned but I would like to
  avoid the
churn.
   Makes sense. I'd be happy to support it as an object attribute if
  it is
   endorsed by the IA2 spec. That said, it sets a precedent we may not
  want
   to set; i.e. that all new states will become object attributes.
  Among
   other things, this adds to the many object attributes that already
   exist, and since there's no way yet to retrieve specific object
   attributes, this is going to get very nasty sooner or later.
  
  I understand. I also would like it to be endorsed by the IA2 spec
  too. All these attributes need to be documented.

   Jamie
  
   --
   James Teh
   Vice President
   NV Access Inc, ABN 61773362390
   Email: ja...@nvaccess.org
   Web site: http://www.nvaccess.org/
  ___
  Accessibility-ia2 mailing list
  Accessibility-ia2@lists.linuxfoundation.org
  https://lists.linux-foundation.org/mailman/listinfo/accessibility-ia2


inline: graycol.gif___
Accessibility-ia2 mailing list
Accessibility-ia2@lists.linuxfoundation.org
https://lists.linux-foundation.org/mailman/listinfo/accessibility-ia2


Re: [Accessibility-ia2] IA2_ROLE_NOTE

2010-11-18 Thread Richard Schwerdtfeger

for note I would use the aria definition.

Rich Schwerdtfeger
CTO Accessibility Software Group



From:   david bolter david.bol...@gmail.com
To: Richard Schwerdtfeger/Austin/i...@ibmus
Cc: markus.gyll...@gmail.com,
accessibility-ia2@lists.linuxfoundation.org, Gregory J.
Rosmaita oedi...@hicom.net,
accessibility-ia2-boun...@lists.linuxfoundation.org
Date:   11/18/2010 02:38 PM
Subject:Re: [Accessibility-ia2] IA2_ROLE_NOTE



The IA2 role.
D


On Nov 18, 2010 3:07 PM, Richard Schwerdtfeger sch...@us.ibm.com wrote:

 For what? the IA2 role? The ARIA definition is accurate: A section whose
 content is parenthetic or ancillary to the main content of the resource.

 ARIA has a role of complementary

 Rich Schwerdtfeger
 CTO Accessibility Software Group



 From: David Bolter david.bol...@gmail.com
 To: Richard Schwerdtfeger/Austin/i...@ibmus
 Cc: accessibility-ia2@lists.linuxfoundation.org,
 accessibility-ia2-boun...@lists.linuxfoundation.org,
 markus.gyll...@gmail.com, Gregory J. Rosmaita
 oedi...@hicom.net
 Date: 11/18/2010 01:32 PM
 Subject: Re: [Accessibility-ia2] IA2_ROLE_NOTE



 Thanks Rich,

 Is anyone opposed to changing the definition to: A section that provides
 complementary information ?

 Cheers,
 David

 On 16/11/10 10:32 AM, Richard Schwerdtfeger wrote:


 That is the appropriate role for aside.


 Rich Schwerdtfeger
 CTO Accessibility Software Group

 Inactive
 hide details for david bolter ---11/15/2010
 05:55:01
 PM---Well, I think I'm looking for approval to
 expose the html
 asdavid bolter ---11/15/2010 05:55:01
 PM---Well, I think I'm looking for approval to expose the html aside
 element with an IA2 note role (in ge

 From: david bolter david.bol...@gmail.com
 To: Gregory J. Rosmaita oedi...@hicom.net
 Cc: accessibility-ia2@lists.linuxfoundation.org,
 accessibility-ia2-boun...@lists.linuxfoundation.org,
 markus.gyll...@gmail.com
 Date: 11/15/2010 05:55 PM
 Subject: Re: [Accessibility-ia2] IA2_ROLE_NOTE
 Sent by: accessibility-ia2-boun...@lists.linuxfoundation.org





 Well, I think I'm looking for approval to expose the html aside
 element with an IA2 note role (in gecko).


 It might be problematic to use a brand new role for FF4 since we are
 API frozen.


 Cheers,
 D


 On Nov 15, 2010 4:20 PM, Gregory J. Rosmaita oedi...@hicom.net
 wrote:
  aloha, brian!
 
  please refer to my resend of my reply to david:
 
 

https://lists.linux-foundation.org/pipermail/accessibility-ia2/2010-November/001235.html


 
  for my complete post -- as for using the brackets, that isn't
  semantically marking the text as relating to/glossing the quote,
 but
  not part of the quote -- designating a voice characteristics change
  for everything in brackets is a rather gross tool for this task,
  similar to having a voice chars switch for quotation marks, which
 are
  used for a lot more than quotations -- for example, i use CSS to
 put
  text in emphasis quotes by assigning the text to be encased in
  air-quotes the element EM
 
  for more detailed musings (by me and others) on what is lacking in
  HTML5's quote element, consult the HTML WG wiki page:
 
  http://www.w3.org/html/wg/wiki/MuchAdoAboutQ
 
  gregory.
  
  CONSERVATIVE, n. A statesman who is enamored of existing evils,
  as distinguished from the Liberal, who wishes to replace them
  with others. -- Ambrose Bierce, _The Devil's Dictionary_
  
  Gregory J. Rosmaita, oedi...@hicom.net
  Camera Obscura: http://www.hicom.net/~oedipus/index.html
  
 
 
  -- Original Message ---
  From: Brian Cragun cra...@us.ibm.com
  To: Gregory J. Rosmaita oedi...@hicom.net
  Cc: accessibility-ia2@lists.linuxfoundation.org,
  accessibility-ia2-boun...@lists.linuxfoundation.org, David Bolter
  david.bol...@gmail.com, markus.gyll...@gmail.com
  Sent: Mon, 15 Nov 2010 14:05:42 -0600
  Subject: Re: [Accessibility-ia2] IA2_ROLE_NOTE
 
  Hi,
 
  Doesn't the demarcation in the text itself provide that context
  inherently? Anyone reading the text would assume that the
  brackets mean there is editor inserted comment.
 
  Regards,
 
  Brian
 
  Brian Cragun
  IBM AbilityLab Consultant
  Human Ability  Accessibility Center
  www.ibm.com/able  w3.ibm.com/able
  W:(720)-663-2801 H:(507)288-2437
 
  From: Gregory J. Rosmaita oedi...@hicom.net
  To: David Bolter david.bol...@gmail.com,
  accessibility-ia2@lists.linuxfoundation.org
  Cc: markus.gyll...@gmail.com
  Date: 11/15/2010 01:48 PM
  Subject: Re: [Accessibility-ia2] IA2_ROLE_NOTE
  Sent by: accessibility-ia2-boun...@lists.linuxfoundation.org
 
  aloha, david!
 
  actually, i'd argue that the problem is that the concept note
  is insufficient for all use cases:
 
  1. there should be a means to distinguish between explanatory
 notes
  and referential notes;
 
  2

Re: [Accessibility-ia2] a11y support registry API

2010-06-21 Thread Richard Schwerdtfeger
suggestion below.

Rich Schwerdtfeger
CTO Accessibility Software Group

accessibility-ia2-boun...@lists.linuxfoundation.org wrote on 06/21/2010
01:00:38 PM:

 From: James Teh ja...@nvaccess.org
 To: accessibility-ia2@lists.linuxfoundation.org
 Date: 06/21/2010 01:13 PM
 Subject: Re: [Accessibility-ia2] a11y support registry API
 Sent by: accessibility-ia2-boun...@lists.linuxfoundation.org

 On 22/06/2010 2:14 AM, David Bolter wrote:
  IApplicationAccessible
 - setRequestedSupport([in] long supportBitflag, [out] long
  supportedBitflag);
  This API suggestion is just illustrative. Something like this would
  allow applications to provide needed support without wasting
performance
  by also providing unused support. Thoughts?
 This sounds okay. The problem is that in order to preserve backwards
 compatibility with older ATs which don't know about this new API, apps
 will have to enable everything by default anyway, which rather defeats
 the purpose.

Would it be better to have a generic function like this to pass a string
representing the feature we are asking for?

RequestFeature([in] String feature, [out] long feature);

The string could be a set of features. If it were not supported in the
current implementation return a -1.
otherwise you return a value.

Some strings:

EnableIA2

future (and I am just making things up)

filter object tree
limittovisiblearea



Rich


It may be less performant but it is more flexible and gets rid of
versioning problems down the road.

 Jamie

 --
 James Teh
 Vice President
 NV Access Inc, ABN 61773362390
 Email: ja...@nvaccess.org
 Web site: http://www.nvaccess.org/
 ___
 Accessibility-ia2 mailing list
 Accessibility-ia2@lists.linuxfoundation.org
 https://lists.linux-foundation.org/mailman/listinfo/accessibility-ia2___
Accessibility-ia2 mailing list
Accessibility-ia2@lists.linuxfoundation.org
https://lists.linux-foundation.org/mailman/listinfo/accessibility-ia2


[Accessibility-ia2] Accessibility Experts - user agent keyboard navigation (resending)

2010-05-26 Thread Richard Schwerdtfeger

An important feature of web browser today is the ability to navigate rich
content editable areas. This feature is standardized in HTML 5. IBM,
Mozilla, and other members of the open community have been working hard on
addressing keyboard navigation. Alex Surkov, Mozilla, is creating a
document for browser manufacturers to follow when a keyboard is being used.
He would like feedback from the community on that document which should
become a best practices guide for browser manufacturers. It would be
problematic if the keyboard navigation behavior was only employed in
Firefox.

IBM is working on the accessibility of rich content editable areas, to
support some of our products, with Mozilla and members of the AT community
so we have an immediate need to address this issue. However, I am sure that
others will be interested.

Alex's proposal consists of two parts. The one part concerns to behavior in
caret navigation mode
(https://wiki.mozilla.org/Accessibility/RichContentKeyboardBehaviour).

The second part is about editor behavior
(https://wiki.mozilla.org/Accessibility/EditorBehaviourOnUserInput),
the editor behavior doc is built upon the doc for caret navigation
mode.

Highlights:

- put all elements (including form controls) into keyboard navigation
sequence.
- define ARIA role's affect on keyboard navigation. It allows ARIA widgets
to behave similar to native widgets so that ARIA widget authors shouldn't
care about caret navigation inside ARIA widgets bydefault (of course ARIA
widget author always is able to override behavior).
- wrap elements (like form controls, links) by special characters (called
empty characters in the proposal) so that the user is able to put the caret
before element, before first character of the element's content.

The editor doc suggests to have two modes defining the behavior of UI
controls inside an editable area. The first mode is to make controls
working as usual, the second mode is to make them a stub controls (so that
the user can't interact with them).

Alex is fine with posting comments on the mozilla wiki pages above or via
email. If we could all provide Alex Surkov feedback it would be much
appreciated. I am going through the documents now.

Alex, thank you for pulling this together!

Rich


Rich Schwerdtfeger
CTO Accessibility Software Group___
Accessibility-ia2 mailing list
Accessibility-ia2@lists.linuxfoundation.org
https://lists.linux-foundation.org/mailman/listinfo/accessibility-ia2


Re: [Accessibility-ia2] Accessibility Experts - user agent keyboard navigation (resending)

2010-05-26 Thread Richard Schwerdtfeger

Hi Alex,

This is just a first pass:

Starting with this link:
https://wiki.mozilla.org/Accessibility/RichContentKeyboardBehaviour

In ARIA widgets you say that ARIA is all about screen readers. That is not
true. Most AT solutions: Voice recognition technology, alternate input
devices, magnifiers, etc. have hysteresis for determining how to present a
web page, or any application, to the user. Knowing what type of content is
there is important. Imagine an assistive technology for the mobility
impaired wanting to know navigational landmarks or knowing how to apply an
alternative input device toward operating an ARIA widget. ... You have to
know something about what it is.


Navigation blocks:

In navigation order provide examples of navigation blocks. Is it a div with
a tabindex property applied somewhere in it? ... it is not clear. It
appears you are using some HTML 5 standard terms as well. It would be good
to link to those.

Rich element as a lexical unit:

- I recommend you link back to the definition earlier in the page.
- When you say auto generated characters are you referring to the
accessibility API or the actual DOM itself?

In-text element

Regarding this paragraph, the first sentence I understand but the the rest
I do not.:
If the in-text element is next on the way (i.e. the first word of its
sentence is next word) then the caret should be set before the element. If
the caret is before the element then it should be moved before the begin of
the second word of the sentence. If the the sentence consist of one word
then the caret should be moved before the word following the sentence. 

Did you mean to say:

When processing in-text elements:

- if the next element is the first word of a sentence the caret should be
placed directly before the element
- if the caret is placed directly before the first word of the sentence,
then a move to the next word would place the caret directly in front of the
second word of the sentence.
- If the caret is placed directly before the first word of the sentence,
and the sentence contains only one word, then a move to the next word would
result in placing the caret directly in front of the word following the
sentence. 

A general comment about word navigation is that the concept of a word needs
to be defined per language. For example, simplified Chinese or Mandarin
does not have the concept of a word. These languages have no spaces.
Assistive technology vendors, like screen readers, have defined their
concept of what a word is per language. It has been quite some time since I
worked on screen reader/2 or the Java Self Voicing Kit so I do not recall
what rules we used. I would recommend you ask one of the ATVs, such as
Jamie Teh, for that answer.

When you refer to character navigation you refer to using the arrow keys
and you make an exception for


There are some general editorial issues but perhaps those can get addressed
on the Wiki vs. here.

Regarding Home and End. When you state that the allow you to navigate to
the beginning and end of the current line. What constitutes a line? This
needs to be defined.

Regarding cutting and pasting to the clipboard does that include inline
script?

Thank you for pulling this together. I am glad someone has taken the time
to address this.

Rich Schwerdtfeger
CTO Accessibility Software Group

wai-xtech-requ...@w3.org wrote on 05/26/2010 09:02:48 AM:

 Richard Schwerdtfeger/Austin/i...@ibmus
 Sent by: wai-xtech-requ...@w3.org

 05/26/2010 09:02 AM

 To

 wai-xt...@w3.org, dev-accessibil...@lists.mozilla.org, Matthew King/
 Fishkill/i...@ibmus, Frank DiPalermo/Austin/Contr/i...@ibmus,
 IAccessible2 mailing list accessibility-...@lists.linux-
 foundation.org, c...@exchange.microsoft.com,
 faulkner.st...@gmail.com, Brian Cragun/Rochester/i...@ibmus, David
 Todd/Greensboro/i...@ibmus, Damian Chojna damian.cho...@ie.ibm.com,
 ble...@freedomscientific.com, r...@freedomscientific.com,
 jcr...@apple.com, Frank Olivier fra...@microsoft.com,
 david.bol...@gmail.com, marco.z...@googlemail.com

 cc

 surkov.alexan...@gmail.com

 Subject

 Accessibility Experts - user agent keyboard navigation (resending)

 An important feature of web browser today is the ability to navigate rich
 content editable areas. This feature is standardized in HTML 5. IBM,
 Mozilla, and other members of the open community have been working hard
on
 addressing keyboard navigation. Alex Surkov, Mozilla, is creating a
 document for browser manufacturers to follow when a keyboard is being
used.
 He would like feedback from the community on that document which should
 become a best practices guide for browser manufacturers. It would be
 problematic if the keyboard navigation behavior was only employed in
 Firefox.

 IBM is working on the accessibility of rich content editable areas, to
 support some of our products, with Mozilla and members of the AT
community
 so we have an immediate need to address this issue. However, I am sure
that
 others will be interested

Re: [Accessibility-ia2] screen reader present flag

2010-05-25 Thread Richard Schwerdtfeger

Any application that would test other native applications would use this.
For example: Rational Functional Tester.

Rich Schwerdtfeger
CTO Accessibility Software Group


   
 Pete Brunet   
 p...@a11ysoft.co 
 m To
   Richard 
 05/25/2010 09:37  Schwerdtfeger/Austin/i...@ibmus  
 AM cc
   Andres Gonzalez 
   andgo...@adobe.com, IAccessible2
 Please respond to mailing list
 p...@a11ysoft.com accessibility-...@lists.linux-foun
   dation.org,
   accessibility-ia2-boun...@lists.lin
   uxfoundation.org, James Teh 
   ja...@nvaccess.org
   Subject
   Re: [Accessibility-ia2] screen  
   reader present flag 
   
   
   
   
   
   




Rich, What other apps are using this message?  How are they using it?
===
Richard Schwerdtfeger wrote:


  I have to agree with Andres. WM_GETOBJECT is not solely used by AT.


  Rich Schwerdtfeger
  CTO Accessibility Software Group

  Inactive hide details for Andres Gonzalez ---05/25/2010 08:48:08
  AM---WM_GETOBJECT is NOT a reliable way of detecting AT eitherAndres
  Gonzalez ---05/25/2010 08:48:08 AM---WM_GETOBJECT is NOT a reliable
  way of detecting AT either, since it may be triggered by apps and
  even device drivers that don't
   
 And   
 res   
 Gon   
 zal   
 ez To
 an   
 dgo p...@a11ysoft.com   
 nza p...@a11ysoft.com, James Teh
 @ad ja...@nvaccess.org, IAccessible2
 obe mailing list  
 .co accessibility-...@lists.linux-founda
 m  tion.org 
 Sen   
 t  cc
 by:   
 acc   
 ess   Subject
 ibi   
 lit Re: [Accessibility-ia2] screen reader
 y-i present flag  
 a2-   
 bou   
 nce   
 s...@l   
 ist   
 s.l   
 inu   
 xfo   
 und   
 ati   
 on.   
 org

Re: [Accessibility-ia2] screen reader present flag

2010-05-25 Thread Richard Schwerdtfeger

Yes, but my point is that these functions are not only used by ATs.  UI
Automation was designed for full automated testing of Windows.
Accessibility was simply added to it after the fact.

I do know that RFT uses MSAA and UIA for testing and not for accessibility
purposes.

Rich Schwerdtfeger
CTO Accessibility Software Group


   
 Pete Brunet   
 p...@a11ysoft.co 
 m To
   Richard 
 05/25/2010 10:12  Schwerdtfeger/Austin/i...@ibmus  
 AM cc
   IAccessible2 mailing list   
   accessibility-...@lists.linux-foun
 Please respond to dation.org,
 p...@a11ysoft.com accessibility-ia2-boun...@lists.lin
   uxfoundation.org, Andres Gonzalez
   andgo...@adobe.com, James Teh 
   ja...@nvaccess.org
   Subject
   Re: [Accessibility-ia2] screen  
   reader present flag 
   
   
   
   
   
   




MSDN at
  http://msdn.microsoft.com/en-us/library/dd373892%28VS.85%29.aspx
indicates that WM_GETOBJECT gets sent by oleacc in response to the three
MSAA AccessibleObjectFrom* functions.  (It's also send in response to
IUIAutomation::ElementFromHandle, ElementFromPoint, and GetFocusedElement.)
Is RFT using it in some other fashion?  If so is there any documentation I
can read to learn more?

Thanks, Pete
===
Richard Schwerdtfeger wrote:


  Any application that would test other native applications would use
  this. For example: Rational Functional Tester.


  Rich Schwerdtfeger
  CTO Accessibility Software Group

  Inactive hide details for Pete Brunet ---05/25/2010 09:37:30
  AM---Rich, What other apps are using this message? How are they us
  Pete Brunet ---05/25/2010 09:37:30 AM---Rich, What other apps are
  using this message? How are they using it?
   
   Pete Brunet 
   p...@a11yso
   ft.com 
   
To
   05/25/2010  
   09:37 AM Richard Schwerdtfeger/Austin/i...@ibmus 
   
cc
 Please respond to 
 p...@a11ysoft.com  Andres Gonzalez andgo...@adobe.com,  
IAccessible2 mailing list  
accessibility-...@lists.linux-foundation.org
,  
accessibility-ia2-boun...@lists.linuxfoundatio
n.org, James Teh ja...@nvaccess.org  
   
   Subject
   
Re: [Accessibility-ia2] screen reader present
flag   
   
   
   
   
   
   



  Rich, What other apps are using this message? How are they using

Re: [Accessibility-ia2] Fwd: text attribute range calculation

2010-05-19 Thread Richard Schwerdtfeger

Is that a range containing only embedded characters?

Rich Schwerdtfeger
CTO Accessibility Software Group


   
 Alexander Surkov  
 surkov.alexander 
 @gmail.comTo
 Sent by:  James Teh ja...@nvaccess.org  
 accessibility-ia2  cc
 -boun...@lists.li IAccessible2 mailing list   
 nuxfoundation.org accessibility-...@lists.linux-foun
   dation.org, Rob Gallo  
   rga...@freedomscientific.com  
 05/19/2010 07:38  Subject
 AMRe: [Accessibility-ia2] Fwd: text
   attribute range calculation 
   
   
   
   
   
   




Hi, guys. One more question.

Should we expose any text attributes for a range containing embedded
characters? I lean towards to think we should return empty string for
text attributes since text attributes makes sense for normal text
only.

Thank you.
Alex.

On Wed, May 19, 2010 at 3:03 PM, Alexander Surkov
surkov.alexan...@gmail.com wrote:
 Ok, thanks James. I'll come with Rob's approach, then I will send try
 Firefox build to Orca developers to check if performance is good
 enough.

 Alex.


 On Wed, May 19, 2010 at 1:09 PM, James Teh ja...@nvaccess.org wrote:
 On 18/05/2010 11:52 PM, Alexander Surkov wrote:
 Aaron suggestion was like [*plain*plain**)[bold*bold*), which I come
here with.
 This is the most complicated and potentially confusing, but also the
 least expensive for out-of-process clients. Have you had any feedback
 from the Orca devs on this?

 Your suggestion was [*)[plain)[*)[plain)[**)[bold)[*)[bold)[*).
 I like this solution most in that it is still quite logical without
 incurring the unnecessary overhead of having separate ranges for every
 embedded object character.

 My last suggestion (based on your suggestion) was
 [*)[plain)[*)[plain)[*)[*)[bold)[*)[bold)[*).
 [This] suggestion is quicker supposedly if
 we don't think about method call cost
 I assume you mean quicker on the app side? I don't think it would ever
 be quicker on the AT side.

 Jamie

 --
 James Teh
 Vice President
 NV Access Inc, ABN 61773362390
 Email: ja...@nvaccess.org
 Web site: http://www.nvaccess.org/
 ___
 Accessibility-ia2 mailing list
 Accessibility-ia2@lists.linuxfoundation.org
 https://lists.linux-foundation.org/mailman/listinfo/accessibility-ia2


___
Accessibility-ia2 mailing list
Accessibility-ia2@lists.linuxfoundation.org
https://lists.linux-foundation.org/mailman/listinfo/accessibility-ia2
inline: graycol.gifinline: pic15180.gifinline: ecblank.gif___
Accessibility-ia2 mailing list
Accessibility-ia2@lists.linuxfoundation.org
https://lists.linux-foundation.org/mailman/listinfo/accessibility-ia2


Re: [Accessibility-ia2] exposing content that is not visible

2010-05-17 Thread Richard Schwerdtfeger
Hi Alex, 

Exposing clipped content is great for screen readers. What AI  Squared is 
saying is that they would like to know something is not visible ( due to 
clipping) as they are trying to magnify what is visible. Imagine you have 
low vision and are reading a text and magnifying that part of the scree 
but it is partially obscured. So, you are magnifying a part of the screen 
that does not exist visually.

Having access to the offscreen information is essential for a screen 
reader user who may be searching for content and does no care if something 
is obscured but for a magnifier users this is a problem. AI Squared has 
had to resort to using their offscreen model which represents only visual 
information to magnify as things are being read to the user. 

I would like to reduce the dependency on having to use screen scraping 
technology. It is invasive to systems and is less accurate than 
accessibility APIs. 

Rich

Rich Schwerdtfeger
CTO Accessibility Software Group



Alexander Surkov surkov.alexan...@gmail.com 
05/15/2010 01:35 AM

To
Richard Schwerdtfeger/Austin/i...@ibmus
cc
p...@a11ysoft.com, accessibility-ia2@lists.linuxfoundation.org, 
accessibility-ia2-boun...@lists.linuxfoundation.org, Shawn Warren 
swar...@aisquared.com
Subject
Re: [Accessibility-ia2] exposing content that is not visible






Hi, Rich.

Clipped and scrolled off elements operable, for example, keyboard
shortcuts works. So I would say they should be accessible, expose
offscreen state, attached to accessible tree and as consequence no new
API is needed. At least this is how it works in Firefox.

Thank you.
Alex.


On Sat, May 15, 2010 at 6:47 AM, Richard Schwerdtfeger
sch...@us.ibm.com wrote:
 I was speaking with Shawn Warren of AI Squared and he indicated that he
 would like to have IA2 be able to hid access to content that is not 
visible.
 In particular it appears Shawn was referring to content and componentry 
that
 was clipped out due to window size and other windows obscuring the 
content.

 I was thinking about this and perhaps the right way to do this would be 
have
 an API feature that would turn on clipping for at least documents. What 
do
 others think?


 Rich Schwerdtfeger
 CTO Accessibility Software Group

 ___
 Accessibility-ia2 mailing list
 Accessibility-ia2@lists.linuxfoundation.org
 https://lists.linux-foundation.org/mailman/listinfo/accessibility-ia2



___
Accessibility-ia2 mailing list
Accessibility-ia2@lists.linuxfoundation.org
https://lists.linux-foundation.org/mailman/listinfo/accessibility-ia2


Re: [Accessibility-ia2] exposing content that is not visible

2010-05-17 Thread Richard Schwerdtfeger

Peter,

I would think so but it would be a performance hit to ATs. Also, I am not
sure how readily available the clipping regions are where they would do the
clipping.

Perhaps Shawn could weigh in on his thoughts here? Shawn?

Rich

Rich Schwerdtfeger
CTO Accessibility Software Group


   
 Peter Korn
 peter.k...@oracl 
 e.com To
   Richard 
 05/17/2010 12:35  Schwerdtfeger/Austin/i...@ibmus  
 PM cc
   Alexander Surkov
   surkov.alexan...@gmail.com,   
   accessibility-...@lists.linuxfounda
   tion.org,   
   accessibility-ia2-boun...@lists.lin
   uxfoundation.org, Shawn Warren  
   swar...@aisquared.com 
   Subject
   Re: [Accessibility-ia2] exposing
   content that is not visible 
   
   
   
   
   
   




Rich,

The particular use case here is around text, yes?  IA2/ATK/JA-API should
all expose character boundary information (the bounding rectangle of every
character in every accessible object).  Likewise, the boundary of whatever
the text is contained in is likewise exposed.  So it should be a fairly
trivial operation for a screen magnifier to do this clipping operation -
just by clipping to the object containing the text.

No?


Regards,

Peter Korn
Accessibility Principal
Oracle

  Hi Alex,

  Exposing clipped content is great for screen readers. What AI
  Squared is saying is that they would like to know something is not
  visible ( due to clipping) as they are trying to magnify what is
  visible. Imagine you have low vision and are reading a text and
  magnifying that part of the scree but it is partially obscured. So,
  you are magnifying a part of the screen that does not exist visually.


  Having access to the offscreen information is essential for a screen
  reader user who may be searching for content and does no care if
  something is obscured but for a magnifier users this is a problem. AI
  Squared has had to resort to using their offscreen model which
  represents only visual information to magnify as things are being
  read to the user.

  I would like to reduce the dependency on having to use screen
  scraping technology. It is invasive to systems and is less accurate
  than accessibility APIs.

  Rich

  Rich Schwerdtfeger
  CTO Accessibility Software Group

   
 Alexander Surkov  
 surkov.alexander 
 @gmail.com   
To
  Richard Schwerdtfeger/Austin/i...@ibmus   
 05/15/2010 01:35   cc
 AM   p...@a11ysoft.com,   
  accessibility-ia2@lists.linuxfoundation.org, 
  accessibility-ia2-boun...@lists.linuxfoundation.
  org, Shawn Warren swar...@aisquared.com
   Subject
  Re: [Accessibility-ia2] exposing content that is
  not visible

Re: [Accessibility-ia2] exposing content that is not visible

2010-05-17 Thread Richard Schwerdtfeger

Not as simple as just text. Today's content has embedded object, widgets,
etc. Clipping gets more challenging. Rich web applications have notebook
tabs, etc. It us much more than 3 calls.

Whenever the document changes you have to clip widgets, text, bitmaps, etc.
Is the right place to do it the AT or the app. that owns the content.

So, when you look at dynamic pages with live regions synched to servers
using Ajax you can have lots of updates. Whenever it changes we are then
asking the AT to clip. Some ATs may be run out of process.

Make sense?

Rich

Rich Schwerdtfeger
CTO Accessibility Software Group


   
 Peter Korn
 peter.k...@oracl 
 e.com To
   Richard 
 05/17/2010 03:16  Schwerdtfeger/Austin/i...@ibmus  
 PM cc
   accessibility-...@lists.linuxfounda
   tion.org,   
   accessibility-ia2-boun...@lists.lin
   uxfoundation.org, Alexander Surkov
   surkov.alexan...@gmail.com, Shawn
   Warren swar...@aisquared.com  
   Subject
   Re: [Accessibility-ia2] exposing
   content that is not visible 
   
   
   
   
   
   




Rich,

I look forward to hearing from Shawn on this, but at first blush, I
wouldn't expect a performance issue to ATs.  You get some event from the
text object (e.g. focus change, or caret move, or text added), you go up
one level to the parent to get it's rectangle/bounds, and then you only
show that rectangle within the magnified region.  That's what, 3 API calls?


But perhaps I don't fully understand the use case(s).  Shawn - can you
describe the scenario(s) you are working in in detail?


Regards,

Peter Korn
Accessibility Principal
Oracle



  Peter,

  I would think so but it would be a performance hit to ATs. Also, I am
  not sure how readily available the clipping regions are where they
  would do the clipping.

  Perhaps Shawn could weigh in on his thoughts here? Shawn?

  Rich


  Rich Schwerdtfeger
  CTO Accessibility Software Group

  Inactive hide details for Peter Korn ---05/17/2010 12:38:49
  PM---Rich,Peter Korn ---05/17/2010 12:38:49 PM---Rich,
   
   Peter Korn  
   peter.k...@oracle.c
   om 
   
To
   05/17/2010 12:35 PM 
   Richard Schwerdtfeger/Austin/i...@ibmus  
   
cc
   
   Alexander Surkov
   surkov.alexan...@gmail.com,   
   accessibility-ia2@lists.linuxfoundation.org
   ,   
   accessibility-ia2-boun...@lists.linuxfounda
   tion.org, Shawn Warren  
   swar...@aisquared.com 
   
   Subject
   
   Re: [Accessibility-ia2] exposing content
   that is not visible

Re: [Accessibility-ia2] exposing content that is not visible

2010-05-14 Thread Richard Schwerdtfeger

I was speaking with Shawn Warren of AI Squared and he indicated that he
would like to have IA2 be able to hid access to content that is not
visible. In particular it appears Shawn was referring to content and
componentry that was clipped out due to window size and other windows
obscuring the content.

I was thinking about this and perhaps the right way to do this would be
have an API feature that would turn on clipping for at least documents.
What do others think?

Rich Schwerdtfeger
CTO Accessibility Software Group___
Accessibility-ia2 mailing list
Accessibility-ia2@lists.linuxfoundation.org
https://lists.linux-foundation.org/mailman/listinfo/accessibility-ia2


Re: [Accessibility-ia2] IAccessibleValue VARIANT types -- not BSTR please

2010-04-28 Thread Richard Schwerdtfeger

Car,

Value should not be a string. If there is a text equivalent it can be sent
through the object properties. I had asked that the Firefox properties from
aria, which allows for a text equivalent, become standard object
properties. For example, a slider may have 7 days of the week and the
current value is 1 for Monday. The text equivalent would be Monday.

I strongly support that the value not be a BSTR.

Rich Schwerdtfeger
CTO Accessibility Software Group


   
 Carolyn MacLeod   
 Carolyn_MacLeod@ 
 ca.ibm.comTo
 Sent by:  accessibility-...@lists.linux-found
 accessibility-ia2 ation.org   
 -boun...@lists.li  cc
 nuxfoundation.org 
   Subject
   [Accessibility-ia2] 
 04/27/2010 11:38  IAccessibleValue VARIANT types --
 PMnot BSTR  please
   
   
   
   
   
   





The following item was discussed on the April 28 call:
http://www.linuxfoundation.org/en/Accessibility/IAccessible2/Minutes/20090428


11.Types for IAValue
Should the VARIANT types for IAValue be limited to VT_I4 and VT_BSTR?
- It was felt other numerics, especially floats, such at VT_R8 (double)
should also be allowed.
- For next time: Is VT_I4, VT_R8, and VT_BSTR sufficient? (There is also
VT_I8 to consider.)
- It was also felt that if the current value is a numeric then the min and
max should also be numeric and of the same type.
- It wasn't clear what to do if the current value is a BSTR. Pete will
check with some developers.

I guess there was no next call, so the spec for IAccessibleValue VARIANT
types wasn't finalized.
It still isn't clear what to do if the current value is a BSTR, because
it's completely unspecified.

The interface description says IAValue represents a numerical value:
http://accessibility.linuxfoundation.org/a11yspecs/ia2/docs/html/interface_i_accessible_value.html#_details

So I supported VT_I4, VT_I8, VT_R4, or VT_R8 (and VT_EMPTY). I didn't
implement VT_BSTR - I don't even look for it.
Then I fired up AccProbe and tried to set a value, and it sent me a BSTR! I
don't have a clue what to do with it. At the moment, I do nothing.
But IAccessibleValue::setCurrentValue doesn't spec any way to say I didn't
set the value, like maybe I shouold return S_FALSE, or E_INVALIDARG or
VT_EMPTY.  (The spec for the value parameter has [out] in the
'Parameters:' list, but I assume that is a typo?)

My current thinking is that VT_BSTR should not be a permitted type. As a
server, if someone hands me a string and says Here, set the numeric value
of this object based on this string, then unless we specify that string
precisely, the odds of me doing the right thing with that string are maybe
50-50. Is the string decimal or hex or octal? Does it represent a positive
or negative number? Is it comprised only of a string of digits? Can it
start with zeros? If so, what does that mean? Are letters allowed? Caps or
lowercase? Localized? Is whitespace allowed? Are expressions allowed?
Fractions? etc -99, BABE, 0x50F0, 76.5, 1.0, 1.00, 033,
007, 10,000,000, 3/4, 2+2, XXXVI, one, twenty-seven,
quatre-vingt-dix-neuf, pi, root 2, NaN. grin

I don't think it makes sense to allow BSTR without fully specifying it -
particularly as IAccessibleValue::setCurrentValue does not have a way for
me to say S_FALSE or E_INVALIDARG.

Can we specify the type of an IAValue as: VT_I4, VT_I8, (VT_R4?), VT_R8,
(VT_EMPTY for getters only?)
...but not VT_BSTR.

Car___
Accessibility-ia2 mailing list
Accessibility-ia2@lists.linuxfoundation.org
https://lists.linux-foundation.org/mailman/listinfo/accessibility-ia2
inline: graycol.gifinline: pic23034.gifinline: ecblank.gif___
Accessibility-ia2 mailing list
Accessibility-ia2@lists.linuxfoundation.org
https://lists.linux-foundation.org/mailman/listinfo/accessibility-ia2


Re: [Accessibility-ia2] Deprecation of IA2_STATE_SINGLE_LINE

2010-04-16 Thread Richard Schwerdtfeger

That's great. However, we have an issue when the author creates a custom
textfield or textarea with ARIA and we remove the property from IA2 we have
a problem.

Rich Schwerdtfeger
CTO Accessibility Software Group


   
 Alexander Surkov  
 surkov.alexander 
 @gmail.comTo
 Sent by:  James Teh ja...@nvaccess.org  
 accessibility-ia2  cc
 -boun...@lists.li IAccessible2 mailing list   
 nuxfoundation.org accessibility-...@lists.linux-foun
   dation.org 
   Subject
 04/15/2010 11:23  Re: [Accessibility-ia2] Deprecation
 PMof IA2_STATE_SINGLE_LINE
   
   
   
   
   
   




Firefox exposes single/multiline states on text fields only. So if
single line state is going to be deprecated and nobody uses it then we
could stop to expose it.

Thank you.
Alex.


On Fri, Apr 16, 2010 at 6:35 AM, James Teh ja...@nvaccess.org wrote:
 On 16/04/2010 5:20 AM, Richard Schwerdtfeger wrote:
 Can we remove/deprecate
 IA2_STATE_SINGLE_LINE = 0x2000
 I don't believe it can. We need it to differentiate between a text field
 or a text area when we have an element whose role is role_system_text.
 When it is absent we can assume it is text in a compound document.
 We never use the SINGLE_LINE state and I don't really see why we need
 to. Why should text in a compound document not specify whether it is
 single or multi-line? If ROLE_SYSTEM_TEXT is being used, it really
 should make this determination. If not, then a more suitable role like
 paragraph should be used.

 Jamie

 --
 James Teh
 Vice President
 NV Access Inc, ABN 61773362390
 Email: ja...@nvaccess.org
 Web site: http://www.nvaccess.org/
 ___
 Accessibility-ia2 mailing list
 Accessibility-ia2@lists.linuxfoundation.org
 https://lists.linux-foundation.org/mailman/listinfo/accessibility-ia2

___
Accessibility-ia2 mailing list
Accessibility-ia2@lists.linuxfoundation.org
https://lists.linux-foundation.org/mailman/listinfo/accessibility-ia2
inline: graycol.gifinline: pic08823.gifinline: ecblank.gif___
Accessibility-ia2 mailing list
Accessibility-ia2@lists.linuxfoundation.org
https://lists.linux-foundation.org/mailman/listinfo/accessibility-ia2


Re: [Accessibility-ia2] accessibility of HTML5 input controls

2010-04-14 Thread Richard Schwerdtfeger

Jamie,

I want to throw in that these form elements will have associated labels
(part of the markup) and an autocomplete feature which is quite different
than we would normally expect.

Rich Schwerdtfeger
CTO Accessibility Software Group


   
 James Teh 
 ja...@nvaccess.o 
 rgTo
 Sent by:  accessibility-...@lists.linuxfounda
 accessibility-ia2 tion.org
 -boun...@lists.li  cc
 nuxfoundation.org 
   Subject
   Re: [Accessibility-ia2] 
 04/14/2010 05:58  accessibility of HTML5 input
 AMcontrols
   
   
   
   
   
   




Hi Alex,

Do these controls actually look any different from a normal input
type=text? In my opinion, if the control doesn't look different
visually, there's probably no need for an AT to report it differently
either. I guess there's no harm in exposing it as an object attribute in
case an AT did want to access this for some reason.

Note that some would argue that this is a case for custom/extended
roles. I don't really agree, but that's another possible approach.

Jamie

On 14/04/2010 5:51 PM, Alexander Surkov wrote:
 Hi.

 HTML5 introduces several new types of input controls like phone
 number, url, search, email, dates and times fields. AFAIK most of new
 controls doesn't have new UI however they are intended to represent
 data of certain types. The question is what can we do to make the life
 of screen reader users easier when new input control is encountered on
 web page?

 I think it would be cute if screen reader would announce the type of
 new input controls so that for instance when user navigates to email
 input then the users hears like email text field. I keep in mind two
 approaches to make this happen.

 1) datatype apporach

 Firefox exposed datatype object attribute if the control had
 associated datatype for its value. It makes sense for markups like
 XForms where any control can have associated data type. For example,
 xforms:output and xforms:input can be bound to the same instance node
 that used to store date. It's kind of universal approach in the means
 it's applicable to all controls, not only to input controls. However
 it doesn't encompass the case of search input what isn't data type.

 2) role approach

 Historically, HTML input accessible has entry role, HTML
 in...@type=password accessible has password role. We could spread
 this approach to new input types and introduce new role for every new
 input type. It's more cumbersome approach but it fits any new type of
 input control.

 What do you think?

 Thank you.
 Alex.
 ___
 Accessibility-ia2 mailing list
 Accessibility-ia2@lists.linuxfoundation.org
 https://lists.linux-foundation.org/mailman/listinfo/accessibility-ia2

--
James Teh
Vice President
NV Access Inc, ABN 61773362390
Email: ja...@nvaccess.org
Web site: http://www.nvaccess.org/
___
Accessibility-ia2 mailing list
Accessibility-ia2@lists.linuxfoundation.org
https://lists.linux-foundation.org/mailman/listinfo/accessibility-ia2
inline: graycol.gifinline: pic11745.gifinline: ecblank.gif___
Accessibility-ia2 mailing list
Accessibility-ia2@lists.linuxfoundation.org
https://lists.linux-foundation.org/mailman/listinfo/accessibility-ia2


Re: [Accessibility-ia2] Deprecation of IA2_STATE_SINGLE_LINE

2010-04-13 Thread Richard Schwerdtfeger

Andres,

Let's put the bits saved aside for a moment - we are living with that
because Microsoft hacked states back in '95. I don't see how we can assume
single line for a compound document.

For text roles we have:

IA2_ROLE_TEXT_FRAME: Collection of objects that constitute a logical text
entity.
ROLE_SYSTEM_TEXT: The object represents selectable text that allows edits
or is designated read-only.

In a compound document, unless you have an embedded text form field, you
don't really have a notion of single or multi-line.

Rich


Rich Schwerdtfeger
CTO Accessibility Software Group


   
 Andres Gonzalez   
 andgo...@adobe.c 
 omTo
   Richard 
 04/13/2010 09:11  Schwerdtfeger/Austin/i...@ibmus, 
 AMCarolyn MacLeod 
   carolyn_macl...@ca.ibm.com
cc
   accessibility-...@lists.linuxfound
   ation.org  
   accessibility-...@lists.linuxfound
   ation.org, 
   accessibility-ia2-boun...@lists.li
   nuxfoundation.org  
   accessibility-ia2-boun...@lists.li
   nuxfoundation.org  
   Subject
   RE: [Accessibility-ia2] Deprecation
   of IA2_STATE_SINGLE_LINE
   
   
   
   
   
   




Rich and all: I think we are essentially agreeing :
1. The multiline state is intended for text fields, where it is important
for a client to handle line breaks in sync with the app. The API, however,
does not preclude a server from setting the multiline state for other
roles.
2. At any particular time, a text field can only be either multiline or
single line, not both. An object can transition from one state to the
other, like a text field that expands as you enter more text on it, e.g.,
email header fields in some email clients.
For those reasons, I believe it is possible to declare only one bit flag
for the multiline state in the API, and assume that the absence of the bit
means single line, just as it is done for the checked/unchecked state. The
advantage is to save one bit of a 32-bit constant for a better use. It is a
purely implementation gain, does not affect the semantics of the API.

If someone needs to have two bits to signal multi or single line
independently for roles other than text fields, or in any other scenario in
general, then we should keep both, but I haven't heard that scenario yet.
Thanks,

--Andres.



From: accessibility-ia2-boun...@lists.linuxfoundation.org [
mailto:accessibility-ia2-boun...@lists.linuxfoundation.org] On Behalf Of
Richard Schwerdtfeger
Sent: Tuesday, April 13, 2010 6:32 AM
To: Carolyn MacLeod
Cc: accessibility-ia2@lists.linuxfoundation.org;
accessibility-ia2-boun...@lists.linuxfoundation.org
Subject: Re: [Accessibility-ia2] Deprecation of IA2_STATE_SINGLE_LINE



 Sure. A web browser. Single and multi line were originally designed for
 text fields and text areas. Single and multi line should only be used for
 content that is only text and has defined line breaks. If neither of these
 properties are provided you will have document with embedded text, etc.

 ... I mean you could call a browser multi line text area but it really is
 not. It is a compound document.


 Rich Schwerdtfeger
 CTO Accessibility Software Group

 Inactive hide details for Carolyn MacLeod---04/12/2010 10:54:42 AM---Hi,
 Rich. You said:Carolyn MacLeod---04/12/2010 10:54:42 AM---Hi, Rich. You
 said::
   
 C 
 a 
 r 
 o

Re: [Accessibility-ia2] hascontext state

2010-04-05 Thread Richard Schwerdtfeger

David,

When a page author creates their own context menu is when you should have
haspopup. The style gide says to use the same key strokes I believe. That
essentially would steal the strokes from the browser.

I am referring to has popup in content and not the browser mapping. You
don't generate haspopup for the browser context menu now do you?

Rich Schwerdtfeger
CTO Accessibility Software Group


   
 David Bolter  
 david.bol...@gma 
 il.comTo
 Sent by:  accessibility-...@lists.linuxfounda
 accessibility-ia2 tion.org
 -boun...@lists.li  cc
 nuxfoundation.org 
   Subject
   Re: [Accessibility-ia2] hascontext
 04/05/2010 11:35  state   
 AM
   
   
   
   
   




Even though we could expose haspopup when we know there is a context menu
I'm not as sure we should since the way to invoke it is different. The user
would hear has popup, click (space bar) the widget and find no popup (since
it is a right click, menu key, shift-f10 that normally invokes the context
menu).

cheers,
David

On 05/04/10 11:57 AM, Richard Schwerdtfeger wrote:

  I understand the use case ... A button may have a drop down menu and
  a
  context menu but would argue that having multiple pop-up menus of any
  form
  on an element is confusing. It would be better to simply have
  haspopup. and
  require the author to have one menu.

  Rich

  Rich Schwerdtfeger
  CTO Accessibility Software Group



   Rob Gallo

   rga...@freedomsc

   ientific.com
  To
   Sent by:  p...@a11ysoft.com,
  'Alexander
   accessibility-ia2 Surkov'

   -boun...@lists.li surkov.alexan...@gmail.com

   nuxfoundation.org
  cc

  accessibility-...@lists.linuxfounda
 tion.org, 'Hans Hillen'

   04/05/2010 08:26  hhil...@paciellogroup.com,

   AM'Marco Zehe'
  mz...@mozilla.com

  Subject
 Re: [Accessibility-ia2]
  hascontext
 state











  I don't think there is a difference between a context menu and a
  pop-up
  menu. There are no roles distinguishing between these two types of
  menus.
  And even saying they are two types of menus is specious. Some menus
  emanate
  from the menu bar, and some do not. But after that, they're all the
  same.

  I am one user among many, but I don't feel a need for this.



  Thanks,
  RG


  -Original Message-
  From: accessibility-ia2-boun...@lists.linuxfoundation.org
  [?mailto:accessibility-ia2-boun...@lists.linuxfoundation.org.] On
  Behalf Of
  Pete Brunet
  Sent: Friday, April 02, 2010 2:18 PM
  To: Alexander Surkov
  Cc: accessibility-ia2@lists.linuxfoundation.org; Hans Hillen; Marco
  Zehe
  Subject: Re: [Accessibility-ia2] hascontext state

  That seems like a good idea.  What do others think?  -Pete

  Alexander Surkov wrote:

Hi.

It might be handy to have hascontext state to indicate the
accessible
has associated context menu. I realize it's very usual for
sighted
users to right mouse click everywhere checking for context
menu.
However it sounds it's not very comfortable for AT users to
press
shift+F10 on every element. This leads AT users might not know
there
is context menu. If we would have hascontext state then the
thing must
be much easier since AT could announce the context menu
presence like
it happens for popup menus. What do you think?

Thank you.
Alex.



  ___
  Accessibility-ia2 mailing

Re: [Accessibility-ia2] RELATION_NODE_PARENT_OF

2010-02-25 Thread Richard Schwerdtfeger

Nope. controller for indicates that an object controls another elsewhere in
the application. This was derived from the work we did with Sun on Java
where we had a problem in the SwingSet application. Here we had a series of
checkboxes that controlled the contents of a listbox (types of foods). We
had no way of showing the relationship so we created controller for.

for pop-up we had a has popup for aria that had an IA2 relationship
corresponding to it. Wouldn't you have an IA2_RELATION_HAS_POPUP?

Rich

Rich Schwerdtfeger
Distinguished Engineer, SWG Accessibility Architect/Strategist


   
 David Bolter  
 david.bol...@gma 
 il.comTo
 Sent by:  accessibility-...@lists.linuxfounda
 accessibility-ia2 tion.org
 -boun...@lists.li  cc
 nuxfoundation.org 
   Subject
   Re: [Accessibility-ia2] 
 02/25/2010 02:54  RELATION_NODE_PARENT_OF 
 PM
   
   
   
   
   




I wonder if this is semantically captured by IA2_RELATION_CONTROLLER_FOR?

Not sure there is any harm to distinguishing POPUP_INITIATOR_FOR though
(or maybe POPPER_FOR).

cheers,
D
On 25/02/10 9:23 AM, Pete Brunet wrote:
 I can add IA2_RELATION_NODE_PARENT_OF.

 I just checked the list of relations and there is one other one that
 doesn't have a complement, i.e.  IA2_RELATION_POPUP_FOR which is defined
as:
This object is a transient component related to the target object.
 When this object is activated the target object doesn't loose focus.
 Is there any need for its complement, e.g. something like
 IA2_RELATION_POPUP_INITIATOR_FOR?

 Pete
 ---
 James Teh wrote:

 On 10/11/2009 3:28 PM, Alexander Surkov wrote:

 Joanmarie requested us to implement new RELATION_NODE_PARENT_OF in
 Firefox for ATK - https://bugzilla.mozilla.org/show_bug.cgi?id=527461.
 This relation is reciprocal relation to NODE_CHILD_OF. I wonder if AT
 using IA2 are interested to have this relation as well. On the another
 hand new relation will keep IA2 and ATK more closely what is good in
 general.

 While NVDA doesn't really have a use for this at present, I think it
 makes sense for the sake of symmetry if nothing else.

 Jamie

 ___
 Accessibility-ia2 mailing list
 Accessibility-ia2@lists.linuxfoundation.org
 https://lists.linux-foundation.org/mailman/listinfo/accessibility-ia2


___
Accessibility-ia2 mailing list
Accessibility-ia2@lists.linuxfoundation.org
https://lists.linux-foundation.org/mailman/listinfo/accessibility-ia2
inline: graycol.gifinline: pic32237.gifinline: ecblank.gif___
Accessibility-ia2 mailing list
Accessibility-ia2@lists.linuxfoundation.org
https://lists.linux-foundation.org/mailman/listinfo/accessibility-ia2


Re: [Accessibility-ia2] RELATION_NODE_PARENT_OF

2010-02-25 Thread Richard Schwerdtfeger

Peter,

Well you are getting older Ronnie. :-)

Rich

Rich Schwerdtfeger
Distinguished Engineer, SWG Accessibility Architect/Strategist


   
 Peter Korn
 peter.k...@sun.c 
 OMTo
 Sent by:  Richard 
 peter.k...@sun.co Schwerdtfeger/Austin/i...@ibmus  
 M  cc
   David Bolter
   david.bol...@gmail.com,   
 02/25/2010 05:02  accessibility-...@lists.linuxfounda
 PMtion.org,   
   accessibility-ia2-boun...@lists.lin
   uxfoundation.org
   Subject
   Re: [Accessibility-ia2] 
   RELATION_NODE_PARENT_OF 
   
   
   
   
   
   




Richard,

Actually, if memory serves, I introduced this as a way to express
relationships in spreadsheets.  Thus you could find out in a spreadsheet
showing quarterly gross expenses, costs, net revenue, and results, that a
given cell (say the lower right, total net for the year) was derived from
the quarterly net results; or derived from the yearly total gross minus the
yearly total costs; etc. etc.


Regards,

Peter Korn
Accessibility Principal
Oracle



  Nope. controller for indicates that an object controls another
  elsewhere in the application. This was derived from the work we did
  with Sun on Java where we had a problem in the SwingSet application.
  Here we had a series of checkboxes that controlled the contents of a
  listbox (types of foods). We had no way of showing the relationship
  so we created controller for.

  for pop-up we had a has popup for aria that had an IA2 relationship
  corresponding to it. Wouldn't you have an IA2_RELATION_HAS_POPUP?

  Rich


  Rich Schwerdtfeger
  Distinguished Engineer, SWG Accessibility Architect/Strategist

  Inactive hide details for David Bolter ---02/25/2010 02:56:41 PM---I
  wonder if this is semantically captured by IA2_RELATION_CODavid
  Bolter ---02/25/2010 02:56:41 PM---I wonder if this is semantically
  captured by IA2_RELATION_CONTROLLER_FOR?
   
 David Bolter  
 david.bol...@gmai
 l.com
 Sent by:  
 accessibility-ia2- To
 boun...@lists.linu
 xfoundation.orgaccessibility-ia2@
lists.linuxfoundat
ion.org
 02/25/2010 02:54  
 PM cc
   
   
   Subject
   
Re:
[Accessibility-ia2
]  
RELATION_NODE_PARE
NT_OF