Web Inspector: AX: Console log of the Inspector does not announce output for screen...
authorcommit-queue@webkit.org <commit-queue@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 27 Jun 2013 23:04:34 +0000 (23:04 +0000)
committercommit-queue@webkit.org <commit-queue@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 27 Jun 2013 23:04:34 +0000 (23:04 +0000)
commitc364541f06271c98b73f7664668f83fb07cef394
treea0d81335d7c0f733e696f36ebedb2f99d2d81527
parent3a34f577f5f89b2a914ef6e9b559458614342420
Web Inspector: AX: Console log of the Inspector does not announce output for screen readers
https://bugs.webkit.org/show_bug.cgi?id=115976

Patch by James Craig <james@cookiecrook.com> on 2013-06-27
Reviewed by Timothy Hatcher.

Main console log area (div.console-messages) is now an ARIA live region (role="log")
so screen readers speak plain text updates.

Also added contextual labels (e.g. input/output) but speech output verification of
those is currently blocked by http://webkit.org/b/118096

* Localizations/en.lproj/localizedStrings.js:
* UserInterface/ConsoleCommand.js:
(WebInspector.ConsoleCommand.prototype.toMessageElement):
* UserInterface/ConsoleCommandResult.js:
(WebInspector.ConsoleCommandResult.prototype.toMessageElement):
* UserInterface/LogContentView.css:
(@media reader):
* UserInterface/LogContentView.js:
(WebInspector.LogContentView):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@152136 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Source/WebInspectorUI/ChangeLog
Source/WebInspectorUI/Localizations/en.lproj/localizedStrings.js
Source/WebInspectorUI/UserInterface/ConsoleCommand.js
Source/WebInspectorUI/UserInterface/ConsoleCommandResult.js
Source/WebInspectorUI/UserInterface/LogContentView.css
Source/WebInspectorUI/UserInterface/LogContentView.js