AX: Fix some minor typos related to the word "accessibility".
authorcommit-queue@webkit.org <commit-queue@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Mon, 3 Nov 2014 08:22:22 +0000 (08:22 +0000)
committercommit-queue@webkit.org <commit-queue@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Mon, 3 Nov 2014 08:22:22 +0000 (08:22 +0000)
https://bugs.webkit.org/show_bug.cgi?id=138299

Patch by Sungmann Cho <sungmann.cho@navercorp.com> on 2014-11-03
Reviewed by Chris Fleizach.

Source/WebCore:

No new tests, no behavior change.

* accessibility/AccessibilityNodeObject.cpp:
(WebCore::shouldUseAccessibilityObjectInnerText):
(WebCore::AccessibilityNodeObject::textUnderElement):
(WebCore::shouldUseAccessiblityObjectInnerText): Deleted.
* accessibility/atk/WebKitAccessibleInterfaceText.cpp:
(getRunAttributesFromAccessibilityObject):
(webkitAccessibleTextGetRunAttributes):
(getRunAttributesFromAccesibilityObject): Deleted.
* page/CaptionUserPreferencesMediaAF.cpp:
(WebCore::CaptionUserPreferencesMediaAF::textTrackSelectionScore):

Source/WebCore/platform/gtk/po:

No new tests, no behavior change.

* en_CA.po:

Source/WebKit/win:

No new tests, no behavior change.

* AccessibleBase.h:

Source/WebKit2:

No new tests, no behavior change.

* WebProcess/WebPage/WKAccessibilityWebPageObjectIOS.mm:

LayoutTests:

* accessibility/aria-link-supports-press.html:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@175466 268f45cc-cd09-0410-ab3c-d52691b4dbfc

12 files changed:
LayoutTests/ChangeLog
LayoutTests/accessibility/aria-link-supports-press.html
Source/WebCore/ChangeLog
Source/WebCore/accessibility/AccessibilityNodeObject.cpp
Source/WebCore/accessibility/atk/WebKitAccessibleInterfaceText.cpp
Source/WebCore/page/CaptionUserPreferencesMediaAF.cpp
Source/WebCore/platform/gtk/po/ChangeLog
Source/WebCore/platform/gtk/po/en_CA.po
Source/WebKit/win/AccessibleBase.h
Source/WebKit/win/ChangeLog
Source/WebKit2/ChangeLog
Source/WebKit2/WebProcess/WebPage/WKAccessibilityWebPageObjectIOS.mm

index 2c4c42a..850e53f 100644 (file)
@@ -1,3 +1,12 @@
+2014-11-03  Sungmann Cho  <sungmann.cho@navercorp.com>
+
+        AX: Fix some minor typos related to the word "accessibility".
+        https://bugs.webkit.org/show_bug.cgi?id=138299
+
+        Reviewed by Chris Fleizach.
+
+        * accessibility/aria-link-supports-press.html:
+
 2014-11-01  KyungTae Kim  <ktf.kim@samsung.com>
 
         [CSS] Add tests for :read-only and :read-write
index a2491ef..3a49d32 100644 (file)
@@ -8,7 +8,7 @@
 
 <br>
 
-<span id="result">To run this test outside of DRT, use the Accssibility Inspector to inspect the link above, and make sure AXPressed is listed as a supported action.</span>
+<span id="result">To run this test outside of DRT, use the Accessibility Inspector to inspect the link above, and make sure AXPressed is listed as a supported action.</span>
 
 <script>
     if (window.accessibilityController) {
index fa7c0ef..90da903 100644 (file)
@@ -1,3 +1,23 @@
+2014-11-03  Sungmann Cho  <sungmann.cho@navercorp.com>
+
+        AX: Fix some minor typos related to the word "accessibility".
+        https://bugs.webkit.org/show_bug.cgi?id=138299
+
+        Reviewed by Chris Fleizach.
+
+        No new tests, no behavior change.
+
+        * accessibility/AccessibilityNodeObject.cpp:
+        (WebCore::shouldUseAccessibilityObjectInnerText):
+        (WebCore::AccessibilityNodeObject::textUnderElement):
+        (WebCore::shouldUseAccessiblityObjectInnerText): Deleted.
+        * accessibility/atk/WebKitAccessibleInterfaceText.cpp:
+        (getRunAttributesFromAccessibilityObject):
+        (webkitAccessibleTextGetRunAttributes):
+        (getRunAttributesFromAccesibilityObject): Deleted.
+        * page/CaptionUserPreferencesMediaAF.cpp:
+        (WebCore::CaptionUserPreferencesMediaAF::textTrackSelectionScore):
+
 2014-11-02  Chris Dumez  <cdumez@apple.com>
 
         Move string-typed properties to the new StyleBuilder
index 41a632f..a7318dc 100644 (file)
@@ -1580,7 +1580,7 @@ unsigned AccessibilityNodeObject::hierarchicalLevel() const
 
 // When building the textUnderElement for an object, determine whether or not
 // we should include the inner text of this given descendant object or skip it.
-static bool shouldUseAccessiblityObjectInnerText(AccessibilityObject* obj, AccessibilityTextUnderElementMode mode)
+static bool shouldUseAccessibilityObjectInnerText(AccessibilityObject* obj, AccessibilityTextUnderElementMode mode)
 {
     // Do not use any heuristic if we are explicitly asking to include all the children.
     if (mode.childrenInclusion == AccessibilityTextUnderElementMode::TextUnderElementModeIncludeAllChildren)
@@ -1670,7 +1670,7 @@ String AccessibilityNodeObject::textUnderElement(AccessibilityTextUnderElementMo
             continue;
         }
         
-        if (!shouldUseAccessiblityObjectInnerText(child, mode))
+        if (!shouldUseAccessibilityObjectInnerText(child, mode))
             continue;
 
         if (is<AccessibilityNodeObject>(*child)) {
index d1419d8..57b3dd9 100644 (file)
@@ -318,7 +318,7 @@ static const AccessibilityObject* getAccessibilityObjectForOffset(const Accessib
     return result;
 }
 
-static AtkAttributeSet* getRunAttributesFromAccesibilityObject(const AccessibilityObject* element, gint offset, gint* startOffset, gint* endOffset)
+static AtkAttributeSet* getRunAttributesFromAccessibilityObject(const AccessibilityObject* element, gint offset, gint* startOffset, gint* endOffset)
 {
     const AccessibilityObject* child = getAccessibilityObjectForOffset(element, offset, startOffset, endOffset);
     if (!child) {
@@ -1055,7 +1055,7 @@ static AtkAttributeSet* webkitAccessibleTextGetRunAttributes(AtkText* text, gint
     if (offset == -1)
         offset = atk_text_get_caret_offset(text);
 
-    result = getRunAttributesFromAccesibilityObject(coreObject, offset, startOffset, endOffset);
+    result = getRunAttributesFromAccessibilityObject(coreObject, offset, startOffset, endOffset);
 
     if (*startOffset < 0) {
         *startOffset = offset;
index c88aa49..9c5a919 100644 (file)
@@ -714,7 +714,7 @@ int CaptionUserPreferencesMediaAF::textTrackSelectionScore(TextTrack* track, HTM
     int trackScore = 0;
 
     if (userPrefersCaptions()) {
-        // When the user prefers accessiblity tracks, rank is SDH, then CC, then subtitles.
+        // When the user prefers accessibility tracks, rank is SDH, then CC, then subtitles.
         if (track->kind() == track->subtitlesKeyword())
             trackScore = 1;
         else if (track->isClosedCaptions())
index 08d3e8a..96c081e 100644 (file)
@@ -1,3 +1,14 @@
+2014-11-03  Sungmann Cho  <sungmann.cho@navercorp.com>
+
+        AX: Fix some minor typos related to the word "accessibility".
+        https://bugs.webkit.org/show_bug.cgi?id=138299
+
+        Reviewed by Chris Fleizach.
+
+        No new tests, no behavior change.
+
+        * en_CA.po:
+
 2014-09-30  Rajesh Ranjan  <rajeshkajha@yahoo.com>
 
         Hindi translation updated
index b5ba2de..00aed5d 100644 (file)
@@ -1457,7 +1457,7 @@ msgstr "Enable Caret Browsing"
 #: ../../../WebKit2/UIProcess/API/gtk/WebKitSettings.cpp:842
 #, fuzzy
 msgid "Whether to enable accessibility enhanced keyboard navigation"
-msgstr "Whether to enable accesibility enhanced keyboard navigation"
+msgstr "Whether to enable accessibility enhanced keyboard navigation"
 
 #: ../../../WebKit/gtk/webkit/webkitwebsettings.cpp:458
 msgid "Enable HTML5 Database"
index 66f74fe..54123ef 100644 (file)
@@ -114,7 +114,7 @@ public:
     virtual HRESULT STDMETHODCALLTYPE GetIDsOfNames(REFIID, LPOLESTR*, UINT, LCID, DISPID*) { return E_NOTIMPL; }
     virtual HRESULT STDMETHODCALLTYPE Invoke(DISPID, REFIID, LCID, WORD, DISPPARAMS*, VARIANT*, EXCEPINFO*, UINT*) { return E_NOTIMPL; }
 
-    // WebCore::AccessiblityObjectWrapper
+    // WebCore::AccessibilityObjectWrapper
     virtual void detach() {
         ASSERT(m_object);
         m_object = 0;
index 4912935..3e14775 100644 (file)
@@ -1,3 +1,14 @@
+2014-11-03  Sungmann Cho  <sungmann.cho@navercorp.com>
+
+        AX: Fix some minor typos related to the word "accessibility".
+        https://bugs.webkit.org/show_bug.cgi?id=138299
+
+        Reviewed by Chris Fleizach.
+
+        No new tests, no behavior change.
+
+        * AccessibleBase.h:
+
 2014-10-31  Gyuyoung Kim  <gyuyoung.kim@samsung.com>
 
         Use std::unique_ptr for TypeCountSet
index 7e8c8bb..ba448a2 100644 (file)
@@ -1,3 +1,14 @@
+2014-11-03  Sungmann Cho  <sungmann.cho@navercorp.com>
+
+        AX: Fix some minor typos related to the word "accessibility".
+        https://bugs.webkit.org/show_bug.cgi?id=138299
+
+        Reviewed by Chris Fleizach.
+
+        No new tests, no behavior change.
+
+        * WebProcess/WebPage/WKAccessibilityWebPageObjectIOS.mm:
+
 2014-11-01  Carlos Garcia Campos  <cgarcia@igalia.com>
 
         REGRESSION(r163656): Remote inspector doesn't work unless preferences change after page initialization
index 06b4c12..9f2dfb0 100644 (file)
@@ -37,7 +37,7 @@
 #import <WebCore/WAKAppKitStubs.h>
 
 /* 
- The implementation of this class will be augmented by an accesibility bundle that is loaded only when accessibility is requested to be enabled.
+ The implementation of this class will be augmented by an accessibility bundle that is loaded only when accessibility is requested to be enabled.
  */
 
 @implementation WKAccessibilityWebPageObject