Index: third_party/WebKit/Source/devtools/front_end/accessibility/AccessibilityNodeView.js |
diff --git a/third_party/WebKit/Source/devtools/front_end/accessibility/AccessibilityNodeView.js b/third_party/WebKit/Source/devtools/front_end/accessibility/AccessibilityNodeView.js |
index 0fea75375716a9f7d12c2610b66d8d9f0116a5c2..41c8a98b235dee71753aabbd07872332ae6ebbc8 100644 |
--- a/third_party/WebKit/Source/devtools/front_end/accessibility/AccessibilityNodeView.js |
+++ b/third_party/WebKit/Source/devtools/front_end/accessibility/AccessibilityNodeView.js |
@@ -574,11 +574,11 @@ Accessibility.AXNodeIgnoredReasonTreeElement = class extends Accessibility.AXNod |
case 'ancestorIsLeafNode': |
reasonElement = UI.formatLocalized('Ancestor\'s children are all presentational:\u00a0', []); |
break; |
- case 'ariaHidden': |
+ case 'ariaHiddenElement': |
var ariaHiddenSpan = createElement('span', 'source-code').textContent = 'aria-hidden'; |
reasonElement = UI.formatLocalized('Element is %s.', [ariaHiddenSpan]); |
break; |
- case 'ariaHiddenRoot': |
+ case 'ariaHiddenSubTree': |
var ariaHiddenSpan = createElement('span', 'source-code').textContent = 'aria-hidden'; |
var trueSpan = createElement('span', 'source-code').textContent = 'true'; |
reasonElement = UI.formatLocalized('%s is %s on ancestor:\u00a0', [ariaHiddenSpan, trueSpan]); |
@@ -589,9 +589,12 @@ Accessibility.AXNodeIgnoredReasonTreeElement = class extends Accessibility.AXNod |
case 'emptyText': |
reasonElement = UI.formatLocalized('No text content.', []); |
break; |
- case 'inert': |
+ case 'inertElement': |
reasonElement = UI.formatLocalized('Element is inert.', []); |
break; |
+ case 'inertSubtree': |
+ reasonElement = UI.formatLocalized('Element is in an inert subtree from\u00a0', []); |
+ break; |
case 'inheritsPresentation': |
reasonElement = UI.formatLocalized('Element inherits presentational role from\u00a0', []); |
break; |