https://dvcs.w3.org/hg/pfwg/raw-file/default/ARIA/1.0/tests/test-files/roles-properties-supported/roles-properties-supported-gridcell-aria-required-true.html
<rdar://problem/13730458>
https://www.w3.org/WAI/PF/testharness/testcases/edit?testsuite_id=1&testcase_id=185
Test case #2 (for tree role) https://dvcs.w3.org/hg/pfwg/raw-file/default/ARIA/1.0/tests/test-files/roles-properties-supported/roles-properties-supported-tree-aria-required-true.html
Test case #3, spinbutton (AXStepper) https://dvcs.w3.org/hg/pfwg/raw-file/default/ARIA/1.0/tests/test-files/roles-properties-supported/roles-properties-supported-spinbutton-aria-required-true.html Here's the list of roles where aria-required is supported: combobox columnheader gridcell listbox radiogroup rowheader spinbutton textbox tree treegrid
s/AXStepper/AXIncrementor/ (Note: VO calls it "stepper")
Created attachment 204979 [details] patch
Created attachment 204981 [details] patch
Comment on attachment 204981 [details] patch View in context: https://bugs.webkit.org/attachment.cgi?id=204981&action=review > Source/WebCore/accessibility/mac/WebAccessibilityObjectWrapperMac.mm:1023 > + // required attr exposed on various HTML elements... These lines should be in the form of sentences. > Source/WebCore/accessibility/mac/WebAccessibilityObjectWrapperMac.mm:1033 > + || m_object->isTree() We should move this logic into a method like, supportsRequiredAttribute() We should also switch to using a switch statement on the role which will be baster switch (roleValue()) { case ComboBox: case Tree: …. }
Created attachment 205050 [details] patch
Comment on attachment 205050 [details] patch Clearing flags on attachment: 205050 Committed r151776: <http://trac.webkit.org/changeset/151776>
All reviewed patches have been landed. Closing bug.
Follow-on work for tables/grid will be in bug 118364.