Граф коммитов

37 Коммитов

Автор SHA1 Сообщение Дата
Eitan Isaacson f42d5e8b3d Bug 1672694 - P1: Query layout for selectable text state. r=morgan,Jamie,yzen
The SELECTABLE_TEXT state is currently under-utilized and probably wrong, since it simply relies on testing if a hypertext has any text. A more correct reflection of the state should be taken from layout's IsSelectable method.

Note, even if an element is styled `user-select: none`, the text will still be keyboard selectable if it is editable (eg. input or contenteditable), so we should consider that SELECTABLE_TEXT.

Differential Revision: https://phabricator.services.mozilla.com/D95783
2020-11-04 19:56:55 +00:00
Razvan Maries fd7d890c94 Backed out 2 changesets (bug 1672694) for Lint failures on browser_text_selection.js and perma failures on browser_accessibility_node.js. CLOSED TREE
Backed out changeset 0f340ea56805 (bug 1672694)
Backed out changeset b222e4ff438f (bug 1672694)
2020-11-04 03:15:17 +02:00
Eitan Isaacson 8a078f1f55 Bug 1672694 - P1: Query layout for selectable text state. r=morgan,Jamie
The SELECTABLE_TEXT state is currently under-utilized and probably wrong, since it simply relies on testing if a hypertext has any text. A more correct reflection of the state should be taken from layout's IsSelectable method.

Note, even if an element is styled `user-select: none`, the text will still be keyboard selectable if it is editable (eg. input or contenteditable), so we should consider that SELECTABLE_TEXT.

Differential Revision: https://phabricator.services.mozilla.com/D95783
2020-11-04 00:28:57 +00:00
Mark Banner fffa61b7b3 Bug 1602069 - Enable ESLint no-undef rule for accessible/test/mochitest js files. r=Jamie
Differential Revision: https://phabricator.services.mozilla.com/D56230

--HG--
extra : moz-landing-system : lando
2019-12-08 23:52:15 +00:00
Victor Porof 058dce8bba Bug 1561435 - Format accessible/, a=automatic-formatting
# ignore-this-changeset

Differential Revision: https://phabricator.services.mozilla.com/D35895

--HG--
extra : source : e786ed0773342d7c897007bb1be5a101945b894a
2019-07-05 09:45:34 +02:00
Paolo Amadini ce01b10ab3 Bug 1474108 - Convert listbox accessibility tests to use the "richlistbox" element. r=surkov
This prepares for the removal of the "listbox" element and binding.

MozReview-Commit-ID: G1OxRGBphmw

--HG--
extra : source : 65d7ca38bd086abe7df0e50e9e5a9ba1d70202c3
2018-07-17 17:58:37 +01:00
Dan Banner 3e7397ae81 Bug 1385817 - Enable brace-style and no-else-return ESLint rules for accessible/ r=yzen
MozReview-Commit-ID: DeVusjK4kt0

--HG--
extra : rebase_source : 67dfeb6c82792ad453dfe72e74dbc8f430877649
2017-08-01 19:08:02 +01:00
Dan Banner 1ce5193a91 Bug 1385817 - Enable space related ESLint rules for accessible/ r=yzen
MozReview-Commit-ID: BeIn3ThKQAx

--HG--
extra : rebase_source : 02a3d9583a55a186bc6bb5c0308c6a88d72daf13
2017-08-01 17:15:51 +01:00
Wes Kocher 288405ee34 Merge inbound to m-c a=merge
MozReview-Commit-ID: LpxvieHR7VH
2017-07-05 17:10:43 -07:00
Hemant Singh Patwal 046089eed8 Bug 1376347 - Enable the ESLint func-call-spacing, key-spacing, keyword-spacing, and no-trailing-spaces rules for accessible/ r=MarcoZ
MozReview-Commit-ID: AtUmUpOSvhi

--HG--
extra : rebase_source : a719fad7bb4c139ff73520b096a348a6eb5d6465
2017-07-04 18:57:02 +05:30
Joanmarie Diggs b66b7af7bc Bug 1355921 - Elements with a defined, non-false value for aria-current should expose ATK_STATE_ACTIVE. r=marcoz
Create states::CURRENT and add it to the list of "universal" (global)
ARIA states. Map states::CURRENT to ATK_STATE_ACTIVE and emit accessible
state-change notifications when the value of aria-current is modified.
2017-07-03 17:02:00 +02:00
Mark Banner 3e354c3b34 Bug 1360166 - Make accessible/ ESLint rules inherit from the mozilla/recommended configuration. r=surkov
MozReview-Commit-ID: GJs25x7vNgZ

--HG--
extra : rebase_source : 6f1c650a50f638dddf8b774931931d226ebbe26d
2017-04-27 11:53:38 +01:00
Paul Bignier ff2e59d1cd Bug 1352802 - Typo fixes around 'accessible'. r=MattN
MozReview-Commit-ID: 27CyNOMXkRq

--HG--
extra : rebase_source : 30e8891fa40cb497ab695e72b179c850a3a5c8d9
2017-04-03 09:47:00 -07:00
Ms2ger f1fc41b0e5 Bug 949614 - Use === for SimpleTest.is; r=Waldo
This is more likely to be correct, and a necessary step in case we ever want
to move to Object.is.

This keeps ise as an alias for is, and introduces is_loosely for the old
behaviour.
2015-04-14 15:28:13 +02:00
Alexander Surkov 3984f70fc8 Bug 1133322 - tweak shutdown procedure for accessibles maintaining own trees, r=yzen 2015-02-18 23:37:32 -05:00
Alexander Surkov 2602de1bfb Bug 1105273 - Accessibility mapping for aria-modal, r=davidb 2014-11-28 10:01:43 -05:00
Marco Zehe 00e3bb9eeb Bug 989958 - Expose PRESSED state on a native button element and remove CHECKABLE state from toggle buttons, r=surkov, r=eeejay 2014-04-04 10:01:19 +02:00
Alexander Surkov 2bcb8efd8f Bug 905215 - Add a test sheet for HTML elements, r=davidb 2013-08-19 18:50:14 -04:00
David Bolter b83dad4641 Bug 577727 - Make pinned tabs distinguishable from other tabs for accessibility. r=marcoz 2013-06-05 17:03:52 +02:00
Alexander Surkov 61047f60c9 Bug 751079 - get rid misuses of nsAccessible::GetBoundaryFrame, r=tbsaunde 2012-05-07 22:42:56 +09:00
Max Li 5b1c387da0 Bug 670853 - undetermined progressmeters should expose mixed state, r=surkov, f=eeejay 2012-04-04 18:07:49 -04:00
Alexander Surkov b186e2ce6d Bug 733382 - editable state bit should be presented on readonly inputs, r=davidb
--HG--
rename : accessible/tests/mochitest/states/test_inputs.xul => accessible/tests/mochitest/states/test_controls.xul
2012-03-14 13:48:01 -04:00
Alexander Surkov 8f80f72f4c Bug 719754 - rewrite events/test_docload.xul, r=marcoz 2012-01-27 19:22:19 +09:00
Alexander Surkov 9a01142f8c Bug 664142 - DEFAULT state exposed incorrectly for HTML, r=tbsaunde 2011-10-03 23:26:18 +09:00
Alexander Surkov 85f57ffd5d Bug 673958 - rework accessible focus handling, r=enndeaking, marcoz, tbsaunde, matspal, f=marcoz
--HG--
rename : accessible/tests/mochitest/test_aria_activedescendant.html => accessible/tests/mochitest/events/test_focus_aria_activedescendant.html
rename : accessible/tests/mochitest/events/test_focus.html => accessible/tests/mochitest/events/test_focus_dialog.html
rename : accessible/tests/mochitest/events/test_focusdoc.html => accessible/tests/mochitest/events/test_focus_doc.html
rename : accessible/tests/mochitest/events/test_focus.xul => accessible/tests/mochitest/events/test_focus_general.xul
rename : accessible/tests/mochitest/states/test_comboboxes.xul => accessible/tests/mochitest/states/test_expandable.xul
rename : accessible/tests/mochitest/test_nsIAccessible_selects.html => accessible/tests/mochitest/states/test_selects.html
2011-09-28 10:46:11 +09:00
Alexander Surkov ca3716edd7 Bug 467143 - mixed state change event is fired for focused accessible only, r=tbsaunde 2011-08-11 20:45:36 +09:00
Alexander Surkov fe94f217d5 Bug 648235 - Use more underlying HTML input states for XUL textboxes, r=davidb
--HG--
rename : accessible/tests/mochitest/test_textboxes.xul => accessible/tests/mochitest/states/test_textbox.xul
2011-04-10 08:37:04 +09:00
Alexander Surkov 34ae1fdc3e Bug 638106 - CKEditor document should be editable, r=davidb, a=final+ 2011-03-03 14:41:46 +08:00
David Bolter d3b7eb0013 Bug 581096 - aria-hidden should expose hidden attribute and fire attributechange events, r=surkov, f=marcoz, a=davidb 2011-01-28 13:15:31 +08:00
Alexander Surkov a015a8fcc2 Bug 606082 - update accessible tree when root element is changed, r=marcoz, davidb, bz, a=blocking 2010-11-06 12:11:08 +08:00
Alexander Surkov 80ae4a5170 Bug 570275 - rework accessible tree update code, r=marcoz, davidb, bz, a=blocking 2010-10-21 13:16:10 +09:00
Alexander Surkov bf0f99b796 Bug 556004 - ###!!! ASSERTION: Getting the link state of an unregistered Link!: 'mRegistered', r=davidb, marcoz, a=davidb 2010-10-21 00:04:18 +09:00
David Bolter 913fbb70cc Bug 559275 + Bug 389238 - map intrinsic required and disabled states; r=marcoz, a=davidb 2010-10-13 11:46:31 -04:00
Alexander Surkov ffa66d32b3 Bug 485270 - embed and object HTML tags should be given an accessible role of embedded object, r=marcoz, davidb 2009-10-15 11:53:08 +08:00
Alexander Surkov 9f6bd69986 Bug 501078 - aria-selected=true on the row should be inherited by gridcell, r=marcoz, davidb 2009-07-01 16:10:15 +08:00
Alexander Surkov a54cd9869d Bug 499653 - unify ARIA state attributes mapping rules, r=marcoz, davidb 2009-06-25 10:12:38 +08:00
Alexander Surkov 8616b0f81e Bug 494346 - STATE_FOCUSABLE not exposed on focusable video sliders, r=davidb, r=MarcoZ
--HG--
rename : accessible/tests/mochitest/nsIAccessible_states.js => accessible/tests/mochitest/states.js
2009-05-22 18:09:51 +02:00