Title: [257396] trunk/Source/WebInspectorUI
- Revision
- 257396
- Author
- nvasil...@apple.com
- Date
- 2020-02-25 17:18:21 -0800 (Tue, 25 Feb 2020)
Log Message
Web Inspector: VoiceOver should read "Console prompt" when focusing on it
https://bugs.webkit.org/show_bug.cgi?id=208028
<rdar://problem/59641238>
Reviewed by Brian Burg.
Before this change, VoiceOver read "edit text blank" when focusing on the console prompt.
* Localizations/en.lproj/localizedStrings.js:
* UserInterface/Views/ConsolePrompt.js:
(WI.ConsolePrompt):
Modified Paths
Diff
Modified: trunk/Source/WebInspectorUI/ChangeLog (257395 => 257396)
--- trunk/Source/WebInspectorUI/ChangeLog 2020-02-26 01:13:20 UTC (rev 257395)
+++ trunk/Source/WebInspectorUI/ChangeLog 2020-02-26 01:18:21 UTC (rev 257396)
@@ -1,5 +1,19 @@
2020-02-25 Nikita Vasilyev <nvasil...@apple.com>
+ Web Inspector: VoiceOver should read "Console prompt" when focusing on it
+ https://bugs.webkit.org/show_bug.cgi?id=208028
+ <rdar://problem/59641238>
+
+ Reviewed by Brian Burg.
+
+ Before this change, VoiceOver read "edit text blank" when focusing on the console prompt.
+
+ * Localizations/en.lproj/localizedStrings.js:
+ * UserInterface/Views/ConsolePrompt.js:
+ (WI.ConsolePrompt):
+
+2020-02-25 Nikita Vasilyev <nvasil...@apple.com>
+
Web Inspector: VoiceOver: TreeOutline does not correctly indicate selected item
https://bugs.webkit.org/show_bug.cgi?id=207968
Modified: trunk/Source/WebInspectorUI/Localizations/en.lproj/localizedStrings.js (257395 => 257396)
--- trunk/Source/WebInspectorUI/Localizations/en.lproj/localizedStrings.js 2020-02-26 01:13:20 UTC (rev 257395)
+++ trunk/Source/WebInspectorUI/Localizations/en.lproj/localizedStrings.js 2020-02-26 01:18:21 UTC (rev 257396)
@@ -306,6 +306,7 @@
localizedStrings["Console Profile Recorded"] = "Console Profile Recorded";
localizedStrings["Console cleared at %s"] = "Console cleared at %s";
localizedStrings["Console opened at %s"] = "Console opened at %s";
+localizedStrings["Console prompt"] = "Console prompt";
localizedStrings["Containing"] = "Containing";
localizedStrings["Content"] = "Content";
localizedStrings["Content Security Policy violation of directive: %s"] = "Content Security Policy violation of directive: %s";
Modified: trunk/Source/WebInspectorUI/UserInterface/Views/ConsolePrompt.js (257395 => 257396)
--- trunk/Source/WebInspectorUI/UserInterface/Views/ConsolePrompt.js 2020-02-26 01:13:20 UTC (rev 257395)
+++ trunk/Source/WebInspectorUI/UserInterface/Views/ConsolePrompt.js 2020-02-26 01:18:21 UTC (rev 257396)
@@ -59,6 +59,10 @@
this._completionController = new WI.CodeMirrorCompletionController(this._codeMirror, this);
this._completionController.addExtendedCompletionProvider("_javascript_", WI._javascript_RuntimeCompletionProvider);
+ let textarea = this._codeMirror.getInputField();
+ if (textarea)
+ textarea.ariaLabel = WI.UIString("Console prompt");
+
this._history = [{}];
this._historyIndex = 0;
}
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes