<html><head><meta http-equiv="Content-Type" content="text/html charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">Frederic, have you forgotten about me so soon? đŸ˜ż<div class=""><br class=""></div><div class="">Let’s move this to <a href="mailto:accessibility-dev@group.apple.com" class="">accessibility-dev@group.apple.com</a></div><div class=""><br class=""></div><div class="">Short answer is VoiceOver probably needs to white list firefox as a â€œweb browser”.&nbsp;</div><div class=""><br class=""></div><div class="">What is the bundle id being used?</div><div class=""><br class=""></div><div class="">We are checking if the app is&nbsp;<span style="font-family: Menlo; font-size: 14px;" class="">org.mozilla.firefox or&nbsp;</span><span style="font-family: Menlo; font-size: 14px;" class="">org.mozilla.nightly and treating that as a web-browser</span></div><div class=""><span style="font-family: Menlo; font-size: 14px;" class=""><br class=""></span></div><div class=""><span style="font-family: Menlo; font-size: 14px;" class="">Also you will need to post&nbsp;</span>AXLoadComplete when the page is done loading</div><div class=""><br class=""><div><blockquote type="cite" class=""><div class="">On Oct 1, 2015, at 5:00 PM, Darin Adler &lt;<a href="mailto:darin@apple.com" class="">darin@apple.com</a>&gt; wrote:</div><br class="Apple-interchange-newline"><div class=""><div class=""><br class=""><blockquote type="cite" class="">On Oct 1, 2015, at 4:10 PM, FrĂ©dĂ©ric WANG &lt;<a href="mailto:fred.wang@free.fr" class="">fred.wang@free.fr</a>&gt; wrote:<br class=""><br class="">Hi,<br class=""><br class="">When Safari has finished loading a page, VoiceOver plays an ascending<br class="">three tone sound effect, selects the web document and starts reading the<br class="">page. I'm trying to reproduce this effect on Firefox for Mac (see<br class=""><a href="https://bugzilla.mozilla.org/show_bug.cgi?id=718637" class="">https://bugzilla.mozilla.org/show_bug.cgi?id=718637</a>).<br class=""><br class="">There is an old message on Apple mailing list indicating that the<br class="">application listening the notification must actually play the sound.<br class="">However, that does not seem to reply to the question since Gecko is the<br class="">sender of the notification, not the receiver:<br class=""><a href="http://prod.lists.apple.com/archives/accessibility-dev/2012/Apr/msg00007.html" class="">http://prod.lists.apple.com/archives/accessibility-dev/2012/Apr/msg00007.html</a><br class=""><br class="">So instead I'm asking on this mailing list, since Gecko must probably<br class="">behave the same as WebKit. Reading WebKit source code, I found various<br class="">potential candidate notifications to send to VoiceOver:<br class=""><br class="">@"AXLoadComplete"<br class="">@"AXLayoutComplete"<br class="">NSAccessibilityFocusedUIElementChangedNotification<br class=""><br class="">I tried making Gecko call NSAccessibilityPostNotification with these<br class="">three events when the page is loaded and rendered but that does not seem<br class="">to help. The best I obtained is that the focus is now put on the web<br class="">document once it is loaded.<br class=""><br class="">Any ideas about how WebKit accessibility code works here?<br class=""></blockquote><br class="">WebKit does not play a page loaded sound. WebKit does not post a notification that directly causes VoiceOver to play a page loaded sound. If WebKit did, then you’d presumably hear that sound whenever you open message in Mail; Mail uses WebKit to load the message content. Likely the same would happen in other applications that use WebKit.<br class=""><br class="">I think the original answer from the Apple mailing list is possibly correct, although I don’t know who Travis Siegel is and the comment about the accessibility callback seems incorrect. It’s unlikely that listening for an accessibility notification sent by WebKit is involved in Safari’s implementation. It’s easy for an app using WebKit to know when the page is loaded, and no reason for it to make use of an accessibility notification to implement something like this.<br class=""><br class="">Since this mailing list is about development of WebKit, I don’t think it’s likely you’ll find someone here who is an expert on exactly how the Safari app works with VoiceOver. It’s possible that some person meeting that description reads this list, but this list is supposed to be for discussing the development of WebKit, not general Apple technical support questions, even ones related to writing web browsers.<br class=""><br class="">I suggest normal Apple developer support channels.<br class=""><br class="">— Darin<br class="">_______________________________________________<br class="">webkit-dev mailing list<br class=""><a href="mailto:webkit-dev@lists.webkit.org" class="">webkit-dev@lists.webkit.org</a><br class="">https://lists.webkit.org/mailman/listinfo/webkit-dev<br class=""></div></div></blockquote></div><br class=""></div></body></html>