Re: [Accessibility-ia2] HTML elements mapping

2018-01-05 Thread Alexander Surkov
On Thu, Jan 4, 2018 at 5:35 PM, James Teh <j...@mozilla.com> wrote: > On Fri, Jan 5, 2018 at 7:37 AM, Alexander Surkov < > surkov.alexan...@gmail.com> wrote: > >> We could add new roles if we have to, however it would make IA2 unique, >> since no other API seems u

[Accessibility-ia2] role taxonomies

2018-01-05 Thread Alexander Surkov
Hey. On a regular bases we keep returning to a discussion, whether we should add a new role into IAccessible2 role family or not, often struggling to find balance: whether new semantics deserves a new role or we can live with existing ones. Adding a new role is not only answering to a question,

Re: [Accessibility-ia2] HTML elements mapping

2018-01-04 Thread Alexander Surkov
gt; Note that in IA2, blockquote doesn't have a role either, which is ugly and > needs to be fixed. So, I think we need to have a discussion about creating > a whole bunch of new roles and revising a future version of the mappings to > include them. > > On Wed, Jun 21, 2017 at 4:48 AM,

Re: [Accessibility-ia2] ARIA set-size=-1 mapping

2017-08-04 Thread Alexander Surkov
, so I think we could > just return similarItemsInGroup as -1. > > Jamie > > On Fri, Aug 4, 2017 at 8:03 AM, Alexander Surkov < > surkov.alexan...@gmail.com> wrote: > >> Hey. >> >> ARIA has aria-setsize="-1" to point out that a set of items has unkn

[Accessibility-ia2] ARIA set-size=-1 mapping

2017-08-03 Thread Alexander Surkov
Hey. ARIA has aria-setsize="-1" to point out that a set of items has unknown size [1]. ATK uses ATK_STATE_INDETERMINATE [2], which also used for tri-state checkboxes. So do we want to IA2-extend MSAA's SYSTEM_STATE_MIXED, used for tri-state checkboxes, to this case? Should we go with a new IA2's

[Accessibility-ia2] HTML elements mapping

2017-06-20 Thread Alexander Surkov
Hey. HTML-a11y mapping spec needs to check/update its IA2 mapping for a bunch of HTML elements. * HTML:q [1] indicates that the enclosed text is a short inline quotation The spec says [2] to use ROLE_SYSTEM_TEXT which contains ROLE_STATIC_TEXT for quotes and ROLE_SYSTEM_TEXT for text itself

Re: [Accessibility-ia2] RELATION_MEMBER_OF versus RELATION_NODE_PARENT_OF

2017-06-19 Thread Alexander Surkov
Hi, Joanie. As I understand it, "node parent of" / "node child of" are inverse relations, used to reflect the hierarchy when it is mismatched with the accessible tree, for example, for flat trees or aria-owns in certain implementations as you pointed it out. "member of" is an abstract relation,

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

2017-02-22 Thread Alexander Surkov
We definitely should reach out our AT vendor contacts, pointing to the summary of the thread, but in general I'd say it's reasonable to expect that all IA2 consumers/implementers follow the list. On Wed, Feb 22, 2017 at 2:39 AM, Dominic Mazzoni wrote: > Great summary. I

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

2017-02-22 Thread Alexander Surkov
Hey, here's some commenting inline. On Wed, Feb 22, 2017 at 1:13 AM, James Teh wrote: > Hi guys, > > Sorry for the delay in responding. I needed to find time to sit down and > digest all of this. :) > > >1. Alex, your (thorough) outline of how this should work looks

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

2017-02-15 Thread Alexander Surkov
negative values (for example, -1 and -2 as we do for offsets), which is less intuitive but less ambiguous. Alex. On Wed, Feb 15, 2017 at 2:48 PM, Dominic Mazzoni <dmazz...@google.com> wrote: > On Wed, Feb 15, 2017 at 11:25 AM Alexander Surkov < > surkov.alexan...@gmail.com> wrote: &

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

2017-02-15 Thread Alexander Surkov
or column, so passing MAX_INT would work. Does > that seem like a good idea? > > The other alternative would be to extend accNavigate with additional > constants to move to the first or last cell in a row/column. > > > > On Wed, Feb 15, 2017 at 9:20 AM Alexander Surkov <a

Re: [Accessibility-ia2] HTML placeholder attribute

2016-10-21 Thread Alexander Surkov
email, it looks like the change will be approved. > > Thanks. > > [1] https://www.w3.org/WAI/ARIA/track/issues/1051 > > On 2016-10-21 11:37 AM, Alexander Surkov wrote: > > Joseph, should we request an update core-aam spec to make this change? > > anything else? >

Re: [Accessibility-ia2] HTML placeholder attribute

2016-10-21 Thread Alexander Surkov
Joseph, should we request an update core-aam spec to make this change? anything else? On Thu, Oct 20, 2016 at 8:17 PM, James Teh <ja...@nvaccess.org> wrote: > placeholder-text is fine with me. > > On Fri, Oct 21, 2016 at 12:02 AM, Alexander Surkov < > surkov.alexa

Re: [Accessibility-ia2] HTML placeholder attribute

2016-10-20 Thread Alexander Surkov
; 1. Expose the placeholder attribute; > 2. Keep the current behaviour of falling back to placeholder for name as a > last resort; > 3. When 1) happens, expose explicit-name:false; > 4. Don't ever fall back to placeholder for description. > > Jamie > > > On 15/09/2016 2:38 AM

[Accessibility-ia2] pre, q, ruby MSAA role mapping

2016-10-20 Thread Alexander Surkov
Hey. What would be a correct mapping for HTML pre, q and ruby roles? I'm taking that IA2_ROLE_TEXT_FRAME would be IA2 match for this, but I'm not clear what MSAA match would be. Is it ROLE_SYSTEM_TEXT or ROLE_SYSTEM_GROUPING [1]? [1] https://rawgit.com/w3c/html-aam/master/index.html Thanks.

[Accessibility-ia2] HTML5 meter element

2016-10-13 Thread Alexander Surkov
Hi. Jason raised a concern [1] that HTML5 meter has different semantics than HTML5 progress. HTML meter is defined [2] as The meter element represents a scalar measurement within a known

Re: [Accessibility-ia2] Reverse relationships

2016-09-23 Thread Alexander Surkov
or 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! > > Jam

Re: [Accessibility-ia2] HTML placeholder attribute

2016-09-14 Thread Alexander Surkov
; 1. Expose the placeholder attribute; > 2. Keep the current behaviour of falling back to placeholder for name as a > last resort; > 3. When 1) happens, expose explicit-name:false; > 4. Don't ever fall back to placeholder for description. > > Jamie > > > On 15/09/2016 2:38 AM

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

2016-09-14 Thread Alexander Surkov
ere at that > first meeting at Mozilla when we kicked off ARIA 1.1 work. > fair enough, but still I've got more involved at implementation stage, because I'd need to understand each feature I add into Gecko. [1] https://www.w3.org/TR/SVG2/embedded.html > > Rich > > > >

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

2016-09-14 Thread Alexander Surkov
t; > > > > Begin forwarded message: > > *From: *Amelia Bellamy-Royds <amelia.bellamy.ro...@gmail.com> > *Subject: **Re: figure role backgrounds* > *Date: *September 12, 2016 at 11:55:09 PM CDT > *To: *Alexander Surkov <surkov.alexan...@gmail.com> > *Cc: *ARIA Wo

Re: [Accessibility-ia2] HTML placeholder attribute

2016-09-14 Thread Alexander Surkov
t; > 11800 31st Court North, St. Petersburg, FL 33716 > > *T* 727-299-6270 > > ble...@vfo-group.com > > www.vfo-group.com > > > > > > *From:* Alexander Surkov [mailto:surkov.alexan...@gmail.com] > *Sent:* Tuesday, September 13, 2016 1:52 PM > *To:* Brett

Re: [Accessibility-ia2] HTML placeholder attribute

2016-09-13 Thread Alexander Surkov
Hi, Brett and all. There's some discrepancy in the specs between UIA and IAccessible2 mappings. UIA column states [1] that HTML placeholder is mapped to accessible name and description, while IAccessible2 column says HTML placeholder has same mapping as aria-placeholder. aria-placeholder is

Re: [Accessibility-ia2] IA2 IDL

2016-09-12 Thread Alexander Surkov
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]

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

2016-09-08 Thread Alexander Surkov
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: Alexande

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

2016-09-08 Thread Alexander Surkov
en 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 c

Re: [Accessibility-ia2] Reverse relationships

2016-09-08 Thread Alexander Surkov
ed to traverse the whole document if it hadn't a reverse relation. > > 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 > > > &

Re: [Accessibility-ia2] Reverse relationships

2016-09-08 Thread Alexander Surkov
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> > <sur

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

2016-09-07 Thread Alexander Surkov
I'd say the bitmask idea is covered by states concept, for example, see STATE_SYSTEM_HASPOPUP [1]. I guess we can add more IA2 states if needed. [1] https://msdn.microsoft.com/en-us/library/windows/desktop/dd373609(v=vs.85).aspx On Tue, Sep 6, 2016 at 8:39 PM, James Teh

Re: [Accessibility-ia2] Form role mapping

2016-09-07 Thread Alexander Surkov
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'

Re: [Accessibility-ia2] Reverse relationships

2016-09-07 Thread Alexander Surkov
something? > > Thanks, > > Brett > > > > *Brett Lewis* > > *VFO* | Software Engineer > > 11800 31st Court North, St. Petersburg, FL 33716 > > *T* 727-299-6270 > > ble...@vfo-group.com > > www.vfo-group.com > > > > > > *Fr

Re: [Accessibility-ia2] Reverse relationships

2016-09-07 Thread Alexander Surkov
I'd say we need have the reverse relations in both of specs (IA2 and UAIG) and implemented in the browsers, iff there's a valid use case for them, and intentions from screen readers to implement them. On Wed, Sep 7, 2016 at 8:44 AM, Richard Schwerdtfeger wrote: > To be clear,

Re: [Accessibility-ia2] Reverse relationships

2016-09-07 Thread Alexander Surkov
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,

Re: [Accessibility-ia2] IA2 Role Landmark

2016-08-25 Thread Alexander Surkov
ime > 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 <surkov.alexan...@gmail.com> > wrote: > > This is true, however xml-roles is not standard attribute in IA2, it's >

Re: [Accessibility-ia2] IA2 Role Landmark

2016-08-25 Thread Alexander Surkov
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 > > > &g

Re: [Accessibility-ia2] IA2 Role Landmark

2016-08-25 Thread Alexander Surkov
> > 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. I

Re: [Accessibility-ia2] IA2 Role Landmark

2016-08-25 Thread Alexander Surkov
landmark can contain fairly complex > content, too, not just a list of links. > > > > Best Regards > > Stefan > > > > *From:* James Teh [mailto:ja...@nvaccess.org] > *Sent:* Donnerstag, 25. August 2016 00:33 > *To:* Rich Schwerdtfeger <richsch...@gmai

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

2016-08-23 Thread Alexander Surkov
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

Re: [Accessibility-ia2] Fwd: IA2 Role Landmark

2016-08-23 Thread Alexander Surkov
://git.linuxfoundation.org/?p=a11y/ia2.git;a=commitdiff;h=87d4e3be9b9029974db2c37113db5c16210e8566 On Thu, Aug 18, 2016 at 10:56 PM, James Teh <ja...@nvaccess.org> wrote: > On 11/08/2016 2:58 AM, Alexander Surkov wrote: > >> 1) adding IA2_ROLE_LANDMARK and >> > Yes. >

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

2016-08-12 Thread Alexander Surkov
scriptions 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 Schwerd

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

2016-08-10 Thread Alexander Surkov
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 rel

Re: [Accessibility-ia2] ARIA feed role

2016-08-10 Thread Alexander Surkov
Let's go with ROLE_SYSTEM_GROUPING then until Jamie has objections. On Wed, Aug 10, 2016 at 8:54 AM, Joanmarie Diggs <jdi...@igalia.com> wrote: > Hey Alex. > > On 08/10/2016 08:27 AM, Alexander Surkov wrote: > > > 1) IA2_ROLE_FEED > > PiƱeiro might kill me if I tel

Re: [Accessibility-ia2] ARIA feed role

2016-08-10 Thread Alexander Surkov
avigation. > > So, this is why it is not a "list per say". However, you could make it a > list with an xml-roles="feed" value but there would be no listitems. They > would be articles. > > Rich Schwerdtfeger > > > > - Original message

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

2016-08-09 Thread Alexander Surkov
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,

Re: [Accessibility-ia2] IA2 Role Landmark

2016-02-23 Thread Alexander Surkov
I'm totally up to keep APIs in sync but if no one is going to use the feature, then there's no much benefit of implementing it. I defer to Jamie on this. As a side note, it sounds a bit wired that the assistive technologies on Windows have to support a new role to make Orca faster. Please don't

Re: [Accessibility-ia2] a new method to retrieve the selection

2015-12-18 Thread Alexander Surkov
Ok, done among a few other fixes [1] [1] http://git.linuxfoundation.org/?p=a11y/ia2.git;a=commitdiff;h=c5b43ab9ef81793b634695308726671346e3ad83 On Wed, Dec 16, 2015 at 5:34 PM, James Teh <ja...@nvaccess.org> wrote: > On 17/12/2015 4:09 AM, Alexander Surkov wrote: > >> Don'

Re: [Accessibility-ia2] a new method to retrieve the selection

2015-12-08 Thread Alexander Surkov
> we could name them start and end then, and document that in case of selection 'start' is a selection anchor, 'end' is a active selection boundary. > > Jamie > > On 4/12/2015 10:57 PM, Alexander Surkov wrote: > > Jamie, Andres, all could you please to take a look at the pro

Re: [Accessibility-ia2] a new method to retrieve the selection

2015-12-04 Thread Alexander Surkov
Jamie, Andres, all could you please to take a look at the proposal and comment it out here? Thanks! Alex. [1] http://git.linuxfoundation.org/?p=a11y/ia2.git;a=commitdiff;h=85deaf1a1514f0c5e6a59e8c9b6606abfb6e6813 On Fri, Nov 13, 2015 at 4:01 PM, Alexander Surkov < surkov.alexan...@gmail.

Re: [Accessibility-ia2] aria-current thread on ia2

2015-12-02 Thread Alexander Surkov
On Wed, Dec 2, 2015 at 9:36 AM, Joseph Scheuhammer wrote: > Hi Jamie, > > Thanks for making that clearer. Comments inline. > > On 2015-12-01 7:42 PM, James Teh wrote: > >> The active state in the IA2 spec says: >> >> This state can be used to indicate the current active

Re: [Accessibility-ia2] aria-current thread on ia2

2015-12-02 Thread Alexander Surkov
On Wed, Dec 2, 2015 at 6:05 PM, James Teh <ja...@nvaccess.org> wrote: > On 3/12/2015 6:20 AM, Alexander Surkov wrote: > >> Right, that's unfortunate but ATK and IA2 differ. If I remember Joanie's >> words then ATK state has been introduced a while ago and used somewhere

Re: [Accessibility-ia2] aria-current thread on ia2

2015-12-02 Thread Alexander Surkov
On Wed, Dec 2, 2015 at 9:23 PM, James Teh <ja...@nvaccess.org> wrote: > On 3/12/2015 9:51 AM, Alexander Surkov wrote: > >> aria-current is an enumeration like aria-autocomplete, which is exposed >> an object attribute, no states in addition. >> > Ah. I missed/for

Re: [Accessibility-ia2] a new method to retrieve the selection

2015-11-13 Thread Alexander Surkov
empty or degenerated > range for any x and means no selection. > > > > Best regards, > > > > --Andres. > > > > *From:* Alexander Surkov [mailto:surkov.alexan...@gmail.com] > *Sent:* Thursday, November 12, 2015 10:35 AM > *To:* James Teh > *Cc:* Andres Gonzal

Re: [Accessibility-ia2] a new method to retrieve the selection

2015-11-12 Thread Alexander Surkov
On Wed, Nov 11, 2015 at 5:12 PM, James Teh <ja...@nvaccess.org> wrote: > On 12/11/2015 12:28 AM, Alexander Surkov wrote: > > > I guess it isn't an edge case after all. I was originally confused by > using child indexes in the case of no text, as this seems strange to me. >

Re: [Accessibility-ia2] a new method to retrieve the selection

2015-11-11 Thread Alexander Surkov
On Wed, Nov 4, 2015 at 2:09 AM, James Teh <ja...@nvaccess.org> wrote: > On 4/11/2015 3:14 AM, Alexander Surkov wrote: > > An edge case is a text document, but where the selection start or end is a > graphic. In that case, I think the returned object should actually be the >

[Accessibility-ia2] a new method to retrieve the selection

2015-10-29 Thread Alexander Surkov
Here's outcome email from Mozilla bug [1] discussion, where Jamie (NVDA) and me concluded that IAccessible2 environment would benefit from having a new method to retrieve text/content selection in perfromant way. The idea is to supplement IAccesible2_2::accessibleWithCaret method, introduced for

Re: [Accessibility-ia2] IA2 mapping of aria-current

2015-08-31 Thread Alexander Surkov
I see, apparently I worked with out of dated ATK spec which didn't say about non windows :) I sent a question to Joanie in the previous email. ATK has object attribute change event iirc. On Mon, Aug 31, 2015 at 4:36 PM, Joseph Scheuhammer wrote: > Hi Alex, > > I agree on

Re: [Accessibility-ia2] IA2 mapping of aria-current

2015-08-31 Thread Alexander Surkov
So it's just for performance? If you had convenient and fast way to obtain object attributes then you wouldn't need a state? On Mon, Aug 31, 2015 at 5:22 PM, Joanmarie Diggs <jdi...@igalia.com> wrote: > On 08/31/2015 05:12 PM, Alexander Surkov wrote: > > Hi, Joanie. I guess

[Accessibility-ia2] aria-errormessage

2015-08-11 Thread Alexander Surkov
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

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

2015-08-05 Thread Alexander Surkov
, 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

Re: [Accessibility-ia2] rowspan and colspan

2015-07-28 Thread Alexander Surkov
that for HTML. It sounds reasonable with me. If there are no objections then that's the way to go I think. On Thu, Jul 16, 2015 at 10:35 AM, Alexander Surkov surkov.alexan...@gmail.com wrote: So we do have two use cases. #1 Example of spanned cells in a table having missed column div role=table

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

2015-07-28 Thread Alexander Surkov
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: [Accessibility-ia2] rowspan and colspan

2015-07-16 Thread Alexander Surkov
attribute. This is really quite hideous. FWIW, I don't know of any API that can handle this; UIA can't either. Jamie On 27/06/2015 8:15 AM, Alexander Surkov wrote: Hey. ARIA introduced aria-rowspan and aria-colspan attributes [1] and [2]. Should be they exposed as part of IAccessibleTable

Re: [Accessibility-ia2] STATE_INDETERMINATE as a means to indicate things like unknowable set size?

2015-07-16 Thread Alexander Surkov
On Tue, Sep 30, 2014 at 7:22 PM, James Teh ja...@nvaccess.org wrote: On 30/09/2014 2:32 AM, Joanmarie Diggs wrote: Given a large data set where the set size is not known (e.g. gmail's 1 of about 120), we need a way to be able to communicate the known set size along with the fact that the

Re: [Accessibility-ia2] aria-roledescription

2015-07-16 Thread Alexander Surkov
. It may be helpful to update the spec to note that localizedExtendedRole can be valid even if extendedRole is NULL. Jamie On 27/06/2015 7:47 AM, Alexander Surkov wrote: ARIA 1.1 introduced aria-roledescription attribute which contains a localized version of ARIA role. Would it be a match

[Accessibility-ia2] rowspan and colspan

2015-06-26 Thread Alexander Surkov
Hey. ARIA introduced aria-rowspan and aria-colspan attributes [1] and [2]. Should be they exposed as part of IAccessibleTable interface, i.e. as col/row extents? [1] https://rawgit.com/w3c/aria/master/aria/aria.html#aria-rowspan [2] https://rawgit.com/w3c/aria/master/aria/aria.html#aria-colspan

[Accessibility-ia2] aria-roledescription

2015-06-26 Thread Alexander Surkov
ARIA 1.1 introduced aria-roledescription attribute which contains a localized version of ARIA role. Would it be a match for localizedExtendedRole or should we proceed with object attributes? Thanks. Alex. [1] https://rawgit.com/w3c/aria/master/aria/aria.html#aria-roledescription

[Accessibility-ia2] aria-colcount and aria-rowcount mapping

2015-06-24 Thread Alexander Surkov
Hi. ARIA introduced aria-colcount/rowcount [1], [2] which allows -1 value that means the number of rows/columns is unknown. Are there ideas how to expose that? Thanks. Alexander. [1] https://rawgit.com/w3c/aria/master/aria/aria.html#aria-rowcount [2]

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

2015-06-24 Thread Alexander Surkov
yeah, that should make a trick. So, groupPosition on a row returns row count and row index, groupPosition on a cell returns a col count and col index. Right? On Wed, Jun 24, 2015 at 8:07 PM, James Teh ja...@nvaccess.org wrote: On 25/06/2015 10:02 AM, Alexander Surkov wrote: If we kept table

Re: [Accessibility-ia2] Fw: Deprecate IA2_TEXT_BOUNDARY_ALL?

2015-05-22 Thread Alexander Surkov
For the record. Bug 436 (deprecate IA2_TEXT_BOUNDARY_ALL) [1] has been fixed [2]. [1] https://bugs.linuxfoundation.org/show_bug.cgi?id=436 [2] http://git.linuxfoundation.org/?p=a11y/ia2.git;a=commitdiff;h=638432d6ff601cfd411b20aa4b2e76eee265fb06 On Mon, May 4, 2015 at 10:28 AM, Alexander Surkov

Re: [Accessibility-ia2] placeholder mapping

2015-05-01 Thread Alexander Surkov
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

Re: [Accessibility-ia2] placeholder mapping

2015-05-01 Thread Alexander Surkov
On Fri, May 1, 2015 at 11:41 AM, Joseph Scheuhammer cl...@alum.mit.edu wrote: On 2015-05-01 10:52 AM, Alexander Surkov wrote: But I'm not sure I see reasoning of *not* mapping it into accessible name/description the way what HTML5 spec suggests. If the placeholder text is put in both

Re: [Accessibility-ia2] placeholder mapping

2015-05-01 Thread Alexander Surkov
: 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 [image: Inactive hide details for Alexander Surkov

Re: [Accessibility-ia2] placeholder mapping

2015-05-01 Thread Alexander Surkov
On Fri, May 1, 2015 at 10:49 AM, Joseph Scheuhammer cl...@alum.mit.edu wrote: Btw, Joseph, I didn't really suggested to change GTK+ mappings :) Oh, sorry, I didn't mean to imply that. The point was that the mapping for placeholder for GTK (desktop) widgets is inconsistent with widgets in

Re: [Accessibility-ia2] placeholder mapping

2015-04-27 Thread Alexander Surkov
...@igalia.com wrote: 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

[Accessibility-ia2] placeholder mapping

2015-04-27 Thread Alexander Surkov
Hi. In Firefox HTML placeholder attribute is mapped to accessible name if label is not provided (either native or ARIA one). Otherwise it's ignored. There are strong opinions that placeholder needs own mapping since it's separate concept from the accessible name and AT want to treat it special

Re: [Accessibility-ia2] Need event to fire when a relation is added/removed

2015-02-24 Thread Alexander Surkov
Thanks, Pete. Hi, Dominic. Are there any consumers for relation change events? From what I can tell I was never requested for it by AT vendor iirc. ATK has generic property changed event and I find it nice, but MSAA has separate events for most of properties already [1], and I don't see a good

Re: [Accessibility-ia2] Need event to fire when a relation is added/removed

2015-02-24 Thread Alexander Surkov
, 2015 at 8:12 AM, Alexander Surkov surkov.alexan...@gmail.com wrote: Thanks, Pete. Hi, Dominic. Are there any consumers for relation change events? From what I can tell I was never requested for it by AT vendor iirc. ATK has generic property changed event and I find it nice, but MSAA has

[Accessibility-ia2] IA2_ROLE_TOGGLE_BUTTON is not recommend by spec

2014-02-20 Thread Alexander Surkov
Hi. IA2 spec doesn't recommend to use TOGGLE_BUTTON role [1]: BRBNote:/B IA2_ROLE_TOGGLE_BUTTON should not be used. Instead, use MSAA's ROLE_SYSTEM_PUSHBUTTON and STATE_SYSTEM_PRESSED. However it's in use in Firefox for years [2]. Note, ATK's toggle button doesn't have similar wording. Is

[Accessibility-ia2] New states for HTML meter element

2013-12-11 Thread Alexander Surkov
Hi. HTML5 introduced meter element [1], which is basically a progressbar role but can be in special states: 1) optimal state when value is in optimal rage (for example, if low optimum high then value should be in [low, high], if optimum high then value should be greater than high. 2)

Re: [Accessibility-ia2] Please review the v1.3 update on the IA2 site

2013-05-17 Thread Alexander Surkov
It'd be good to convert line endings in all files into unix format. On Fri, May 17, 2013 at 11:02 PM, Pete Brunet p...@a11ysoft.com wrote: On 5/17/13 6:04 AM, Alexander Surkov wrote: Hi, Pete. It seems linux line endings were changed to windows line ending. Was it intentional change

Re: [Accessibility-ia2] Object attribute format

2013-05-17 Thread Alexander Surkov
, Can you give us an example of the multi-value case? As to the choice we need more input so far we have that you suggested a space and I suggested a comma. -Pete On 5/16/13 11:03 PM, Alexander Surkov wrote: So it'd be good to put the format into the spec. Do I understand correct

Re: [Accessibility-ia2] Please review the v1.3 update on the IA2 site

2013-05-17 Thread Alexander Surkov
are working in a Win environment that CRLF endings would be expected. Pete On 5/17/13 9:35 AM, Alexander Surkov wrote: It'd be good to convert line endings in all files into unix format. On Fri, May 17, 2013 at 11:02 PM, Pete Brunet p...@a11ysoft.com wrote: On 5/17/13 6:04 AM, Alexander

Re: [Accessibility-ia2] Object attribute format

2013-05-16 Thread Alexander Surkov
(resending to IA2 list) Hi. What is object attribute format is excepted when the server needs to provide more than one value for the single object attribute. The IA2 doc says [1] that format is: attribute:value;attribute:subattribute=subvalue,subattribute=subvalue; Does it implicitly mean that

Re: [Accessibility-ia2] Object attribute format

2013-05-16 Thread Alexander Surkov
So it'd be good to put the format into the spec. Do I understand correct that the choice falls at comma separated list? Thank you. Alex. On Fri, May 17, 2013 at 11:44 AM, James Teh ja...@nvaccess.org wrote: On 17/05/2013 11:54 AM, Pete Brunet wrote: attribute:value1,value2 seems acceptable.

Re: [Accessibility-ia2] Please review the v1.3 update on the IA2 site

2013-05-15 Thread Alexander Surkov
Hi, Pete. Thanks for finishing it! Do I understand right that link for downloading IDLs is http://accessibility.linuxfoundation.org/a11yspecs/ia2/ia2-api-20130501.zip. Thank you. Alex. On Thu, May 16, 2013 at 2:10 PM, Pete Brunet p...@a11ysoft.com wrote: The IA2 site has been updated to fix a

Re: [Accessibility-ia2] IAccessibleText::getTextAtOffset for word boundary clarification needed

2013-04-28 Thread Alexander Surkov
. On Sat, Apr 27, 2013 at 2:12 AM, Pete Brunet p...@a11ysoft.com wrote: On 4/16/13 1:29 AM, Alexander Surkov wrote: Hi. There are couple issues with IAccessibleText spec. 1) IAccessibleText::getTextAtOffset interface wording is a bit confusing [1], it says: If the index is valid

[Accessibility-ia2] IAccessibleText::getTextAtOffset for word boundary clarification needed

2013-04-16 Thread Alexander Surkov
Hi. There are couple issues with IAccessibleText spec. 1) IAccessibleText::getTextAtOffset interface wording is a bit confusing [1], it says: If the index is valid, but no suitable word (or other text type) is found, a NULL pointer is returned. This makes me think (presumably makes me think

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

2013-04-15 Thread Alexander Surkov
10:58 AM, Alexander Surkov wrote: Hopefully Jamie could help with that. I'd be great to have it early Q2. Alex. On Sat, Mar 16, 2013 at 12:43 AM, Pete Brunet p...@a11ysoft.com p...@a11ysoft.com wrote: On 3/14/13 11:03 PM, Alexander Surkov wrote: I'm fine with that. I would say

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

2013-03-15 Thread Alexander Surkov
Hopefully Jamie could help with that. I'd be great to have it early Q2. Alex. On Sat, Mar 16, 2013 at 12:43 AM, Pete Brunet p...@a11ysoft.com wrote: On 3/14/13 11:03 PM, Alexander Surkov wrote: I'm fine with that. I would say As a performant alternative or something similar. Btw, Pete

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

2013-03-14 Thread Alexander Surkov
, On 3/4/13 10:29 PM, Alexander Surkov wrote: Hi, Pete. More feedback. 1) It makes sense to not deprecate IAccessible2::relations since it can be useful for AT tools. In this case maxRelations argument is not really needed and it can be marked as ignored but it's not big deal

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

2013-03-14 Thread Alexander Surkov
I'm fine with that. I would say As a performant alternative or something similar. Btw, Pete, what is a plan about releasing? Alex. On Fri, Mar 15, 2013 at 12:40 PM, Pete Brunet p...@a11ysoft.com wrote: On 3/14/13 9:30 PM, Alexander Surkov wrote: Hi, Pete. 1) It makes sense

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

2013-03-04 Thread Alexander Surkov
this won't be in 1.3 and I'll finish up the work I need to do to republish the spec on a11ysoft.com for one more look at it before I get in touch with the Linux Foundation IT guys to get it published there. On 2/25/13 11:58 PM, Alexander Surkov wrote: Probably we should let IA2 1.3 go without

Re: [Accessibility-ia2] Plea for a new function

2013-02-25 Thread Alexander Surkov
this method. 3) Something else. Pete On 2/10/13 8:15 PM, Alexander Surkov wrote: It's a total hack. However, imo, this whole idea is a hack. :) It could be. IAccessibleHyperlink or IAccessibleText on text leafs are hacks and actually it is a thin ice for Firefox. This easily could face

Re: [Accessibility-ia2] Plea for a new function

2013-02-25 Thread Alexander Surkov
IAccessible2_2::offsetInParentText ( [out] long* offset ); Return the text offset in the immediate parent node. 2) Do not add this method. 3) Something else. Pete On 2/10/13 8:15 PM, Alexander Surkov wrote: It's a total hack. However, imo, this whole idea is a hack. :) It could

Re: [Accessibility-ia2] Plea for a new function

2013-02-25 Thread Alexander Surkov
...@a11ysoft.com wrote: On 2/25/13 9:40 PM, Alexander Surkov wrote: I don't mind adding the method to the spec but I don't have strong opinion either. I agree with Jamie that keeping the text method on IAccessible2 looks unusual. In Gecko we keep an analogue method in text interface: int32_t

Re: [Accessibility-ia2] Plea for a new function

2013-02-25 Thread Alexander Surkov
Probably we should let IA2 1.3 go without addressing this issue. In Firefox we still can use IA2 to expose it in non-standard way (like new object attribute). Alex. On Tue, Feb 26, 2013 at 2:49 PM, James Teh ja...@nvaccess.org wrote: On 26/02/2013 4:12 PM, Pete Brunet wrote: So Is the

Re: [Accessibility-ia2] Plea for a new function

2013-02-10 Thread Alexander Surkov
Hi, Jamie. If text leafs implement IAccessibleHyperlink but previously IAccessibleHyperlink was implemented by embedded objects only then this might be something that AT relies on. On the another hand parent IAccessibleHyperText would return a collection of children instead the collection of

Re: [Accessibility-ia2] Plea for a new function

2013-02-10 Thread Alexander Surkov
and IAccesisbleText/HyperText for text stuff then this method can be useful. Thank you. Alex. On Mon, Feb 11, 2013 at 11:00 AM, James Teh ja...@nvaccess.org wrote: On 11/02/2013 11:22 AM, Alexander Surkov wrote: Hi, Jamie. If text leafs implement IAccessibleHyperlink but previously IAccessibleHyperlink

Re: [Accessibility-ia2] Plea for a new function

2013-02-06 Thread Alexander Surkov
is returned if a parent accessible implements IAccessibleText. S_FALSEis returned if no parent nodes implementing IAccessibleText are found; [out] value is -1. On 2/6/13 8:02 PM, Alexander Surkov wrote: Hi, Pete. The method looks ok. Few notes. If this accessible implements

Re: [Accessibility-ia2] Plea for a new function

2013-02-06 Thread Alexander Surkov
accessible implements IAccessibleText. S_FALSE is returned if no ancestor node implementing IAccessibleText are found; [out] value is -1. On 2/6/13 8:55 PM, Alexander Surkov wrote: Hi, Pete. if a parent accessible implements and if no parent nodes implementing IAccessibleText are found sounds

Re: [Accessibility-ia2] Plea for a new function

2013-02-05 Thread Alexander Surkov
Hi, Pete. Options were discussed: 1) make text leaf accessible implement IAccessibleText (I didn't like it, see http://lists.linuxfoundation.org/pipermail/accessibility-ia2/2012-November/001731.html) 2) make text leaf accessible implement IAccessibleHyperLink (I didn't like it, see

  1   2   >