 Chromium Code Reviews
 Chromium Code Reviews Issue 1012663002:
  Aria disabled does not apply to descendant elements  (Closed) 
  Base URL: https://chromium.googlesource.com/chromium/blink.git@master
    
  
    Issue 1012663002:
  Aria disabled does not apply to descendant elements  (Closed) 
  Base URL: https://chromium.googlesource.com/chromium/blink.git@master| Index: LayoutTests/accessibility/aria-disabled.html | 
| diff --git a/LayoutTests/accessibility/aria-disabled.html b/LayoutTests/accessibility/aria-disabled.html | 
| index de016c1042c1dca968dfccef7e9edf6b22186249..b7c0e845f07b3f147f42dab2538959081acf006e 100644 | 
| --- a/LayoutTests/accessibility/aria-disabled.html | 
| +++ b/LayoutTests/accessibility/aria-disabled.html | 
| @@ -6,6 +6,10 @@ | 
| <body id="body"> | 
| <input type="text" aria-disabled="true" size=20> | 
| <input type="text" aria-disabled="false" size=20> | 
| +<div role="group" id="group1" aria-disabled="true"> | 
| + <a id="link1" href="#">link</a> | 
| + <button id="button1" type="submit" aria-disabled="false">submit</button> | 
| +</div> | 
| <p id="description"></p> | 
| <div id="console"></div> | 
| @@ -24,6 +28,18 @@ | 
| textField = accessibilityController.focusedElement.childAtIndex(0).childAtIndex(1); | 
| succeeded = textField.isEnabled; | 
| shouldBe("succeeded", "true"); | 
| + | 
| + var group = accessibilityController.accessibleElementById("group1"); | 
| + succeeded = group.isEnabled; | 
| + shouldBe("succeeded", "false"); | 
| 
dmazzoni
2015/03/23 16:16:51
I know this existed before, but as long as you're
 | 
| + | 
| + var link = accessibilityController.accessibleElementById("link1"); | 
| + succeeded = link.isEnabled; | 
| + shouldBe("succeeded", "false"); | 
| + | 
| + var button = accessibilityController.accessibleElementById("button1"); | 
| + succeeded = button.isEnabled; | 
| + shouldBe("succeeded", "true"); | 
| } | 
| </script> |