--
To unsubscribe from this group and stop receiving emails from it, send an email to chromium-accessib...@chromium.org.
Do you have any pointers on where to start prototyping the navigation-announcement part? E.g., where it is done for cross-document navigations? We were thinking that, since that has fewer outstanding questions, we could start there.
--
- Dominic
To unsubscribe from this group and stop receiving emails from it, send an email to chromium-accessibility+unsub...@chromium.org.
Hi all,I'm returning to trying to implement this and got a bit stuck. You can see my progress and some more background in this document.I'd welcome any general help; in particular I think it's likely an expert in accessibility code who is familiar with the Blink/a11y boundary would be able to fix this 10x quicker than I could. But in terms of tactical questions, I'm wondering:
- What code actually tells AT about the new page navigation? Is it this code? I.e., is my goal to somehow end up calling AddEvent(tree->root(), Event::LOAD_COMPLETE), and then everything will work? Or is it going to be more complicated than that?
- What does Dominic mean above when he says that the code in Blink accessibility that fires the load-complete event is a "hint"? I wrote a CL that tried to use that infrastructure and it ended up doing nothing, from what I could see. Where in the code does that event get handled, or ignored?
On Tuesday, January 11, 2022 at 12:12:45 PM UTC-10 dom...@chromium.org wrote:Hi all,I'm returning to trying to implement this and got a bit stuck. You can see my progress and some more background in this document.I'd welcome any general help; in particular I think it's likely an expert in accessibility code who is familiar with the Blink/a11y boundary would be able to fix this 10x quicker than I could. But in terms of tactical questions, I'm wondering:
- What code actually tells AT about the new page navigation? Is it this code? I.e., is my goal to somehow end up calling AddEvent(tree->root(), Event::LOAD_COMPLETE), and then everything will work? Or is it going to be more complicated than that?
Yes that is the code. AXTreeData::loaded is populated by this code in the renderer process:In theory this should just work if the state transitions are done correctly on that object.
To unsubscribe from this topic, visit https://groups.google.com/a/chromium.org/d/topic/chromium-accessibility/wDUwToU8LdM/unsubscribe.
To unsubscribe from this group and all its topics, send an email to chromium-accessib...@chromium.org.
NVDA doesn't currently listen to load complete events. We've recently talked to them about changing that (because of bfcache), and this could provide another reason.Other ATs may listen to load complete events, however. It may make sense to identify one and get this working with that first.
Maybe what we should do is create a new event, e.g. kLoadCompleteInSamePage, and then finding something to map that to on each platform (or inventing a new API event for each), and then working with each AT to support it.
Aaron
To unsubscribe from this group and stop receiving emails from it, send an email to chromium-accessib...@chromium.org.