| <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN"> |
| <script src="../../resources/js-test-pre.js"></script> |
| <a href="#" role="button">Like</a> |
| description("This tests that list items on MacOS do not expose labeling information. MacOS expects only leaf-node type elements to do that."); |
| if (window.accessibilityController) { |
| // Both the title and description should be empty for the list item. |
| var listitem = accessibilityController.accessibleElementById("listitem"); |
| shouldBe("listitem.description", "'AXDescription: '"); |
| shouldBe("listitem.title", "'AXTitle: '"); |
| <script src="../../resources/js-test-post.js"></script> |