Commit Graph
32 Commits
Author SHA1 Message Date
Sylvestre Ledru eafe8b152d Bug 2023419 - Remove Emacs/Vim modelines from accessible/ r=emilio
replaced by .editorconfig
# ignore-this-changeset

Differential Revision: https://phabricator.services.mozilla.com/D287834
2026-03-18 10:29:47 +00:00
Serban Stanca 5a709d4a9a Revert "Bug 2023419 - Remove Emacs/Vim modelines from accessible/ r=emilio" for causing mochitests failures in browser_action.js.
This reverts commit 2fa4815c8d.
2026-03-17 15:34:26 +00:00
Sylvestre Ledru 2fa4815c8d Bug 2023419 - Remove Emacs/Vim modelines from accessible/ r=emilio
replaced by .editorconfig
# ignore-this-changeset

Differential Revision: https://phabricator.services.mozilla.com/D287834
2026-03-17 09:21:51 +00:00
Eitan Isaacson 686747256c Bug 1942799 - P2: Make root editables multiline by default and expose value. r=morgan
Differential Revision: https://phabricator.services.mozilla.com/D268628
2025-10-22 03:15:07 +00:00
Sandor Molnar 0a130f7757 Revert "Bug 1942799 - P6: Change mozTextAccessible to a mozAccessible category. r=Jamie" for causing build bustages @ Platform.mm
This reverts commit c06c2d185f.

Revert "Bug 1942799 - P5: Remove private mozTextAccessible extension. r=Jamie"

This reverts commit 0e6e2e8f09.

Revert "Bug 1942799 - P4: Remove specialized moxRole and provide AXTextField/AXTextArea role to contenteditable. r=Jamie"

This reverts commit b6bfacef41.

Revert "Bug 1942799 - P3: Remove specialized moxRequired, moxInvalid and moxValue. r=morgan"

This reverts commit 34472dcf24.

Revert "Bug 1942799 - P2: Make root editables multiline by default and expose value. r=morgan"

This reverts commit c1c636ea74.

Revert "Bug 1942799 - P1: Intro IsEditable(Root) to distinguish editable content. r=morgan"

This reverts commit 35f6ad2187.
2025-10-21 18:16:20 +00:00
Eitan Isaacson c1c636ea74 Bug 1942799 - P2: Make root editables multiline by default and expose value. r=morgan
Differential Revision: https://phabricator.services.mozilla.com/D268628
2025-10-21 17:06:16 +00:00
Eitan Isaacson 9a3c790144 Bug 1898654 - Make EXPANDABLE/EXPANDED/COLLAPSED states consistent. r=Jamie
Calculate COLLAPSED as a presence of EXPANDABLE with an absence of
EXPANDED. Also, tried to remove direct uses of COLLAPSED whereever
reasonable.

Note: We will still fire COLLAPSED state changes, so that's good.

Differential Revision: https://phabricator.services.mozilla.com/D251745
2025-06-04 00:38:36 +00:00
Serban Stanca 4912ee4a82 Revert "Bug 1898654 - Make EXPANDABLE/EXPANDED/COLLAPSED states consistent. r=Jamie" for causing mochitests failures in browser_simplePatterns.js.
This reverts commit 7ebea67d9a.

This reverts commit b6ffead8a7.

This reverts commit 940e0c0106.

This reverts commit e0180ff1ef.
2025-06-03 03:33:20 +00:00
Eitan Isaacson 7ebea67d9a Bug 1898654 - Make EXPANDABLE/EXPANDED/COLLAPSED states consistent. r=Jamie
Calculate COLLAPSED as a presence of EXPANDABLE with an absence of
EXPANDED. Also, tried to remove direct uses of COLLAPSED whereever
reasonable.

Note: We will still fire COLLAPSED state changes, so that's good.

Differential Revision: https://phabricator.services.mozilla.com/D251745
2025-06-03 00:50:23 +00:00
Alexandru Marc 2c2538b261 Revert "Bug 1898654 - Make EXPANDABLE/EXPANDED/COLLAPSED states consistent. r=Jamie" for causing ba failures @ browser_simplePatterns.js
This reverts commit 779b2feecd.

Revert "Bug 1899960 - P2: Imply an unavailable state if focusable is in unavailable subtree. r=Jamie"

This reverts commit 6e4b35e663.

Revert "Bug 1899960 - P1: Don't cache implicit states. r=Jamie"

This reverts commit eacb22ed13.

Revert "Bug 1967813 - Check menu's frame IsOpen to determine if menu is active. r=ayeddi"

This reverts commit f1f8ac785d.
2025-05-30 20:56:51 +00:00
Alexandru Marc 3b440c8738 Reapply "Bug 1898654 - Make EXPANDABLE/EXPANDED/COLLAPSED states consistent. r=Jamie" for causing ba failures at browser_simplePatterns.js for causing build bustage
This reverts commit fa47313db2.
2025-05-30 20:56:48 +00:00
Cristina Horotan fa47313db2 Revert "Bug 1898654 - Make EXPANDABLE/EXPANDED/COLLAPSED states consistent. r=Jamie" for causing ba failures at browser_simplePatterns.js for causing build bustage
This reverts commit 779b2feecd.

Revert "Bug 1899960 - P2: Imply an unavailable state if focusable is in unavailable subtree. r=Jamie"

This reverts commit 6e4b35e663.

Revert "Bug 1899960 - P1: Don't cache implicit states. r=Jamie"

This reverts commit eacb22ed13.

Revert "Bug 1967813 - Check menu's frame IsOpen to determine if menu is active. r=ayeddi"

This reverts commit f1f8ac785d.

Revert "Bug 1934096 - Minimize differences between `site.py` and `python.py` implementations of `pip_command` functions r=ahal"

This reverts commit e5ef1c9835.

Revert "Bug 1934096 - Use `uv` in `mozharness/base/python.py` r=ahal"

This reverts commit 48b3d309b5.

Revert "Bug 1968593 - Upgrade `uv` toolchain version to `0.7.2` r=firefox-build-system-reviewers,sergesanspaille"

This reverts commit 8b828d5f58.

Revert "Bug 1968592 - Fix `test_site_activation.py` test in CI after `uv` enable r=firefox-build-system-reviewers,sergesanspaille"

This reverts commit 8cfd9ee70b.

Revert "Bug 1968592: Enable `use-uv` by default for `test` and `source-test` kinds r=ahal,taskgraph-reviewers"

This reverts commit 994220ef5d.

Revert "Bug 1962485 - Fix `jj` tests in `mozversioncontrol` r=sfink,ahal"

This reverts commit 52e5f009bd.

Revert "Bug 1962485 - Add `jj` toolchain to `mozversioncontrol` Python source test r=firefox-build-system-reviewers,nalexander"

This reverts commit f0c553f479.

Revert "Bug 1962485 - Add `jj` toolchain tasks r=firefox-build-system-reviewers,nalexander"

This reverts commit 166ddbd3fe.

Revert "Bug 1967634 - Bump vendored `pyyaml` version to `6.0.2` to match mozharness and grizzly r=ahal,mach-reviewers"

This reverts commit 495e3e0a95.

Revert "Bug 1969203 - Fix `.gitignore` pattern regarding `.egg-info` for vendored packages in `jj` r=ahal"

This reverts commit b993509711.

Revert "Bug 1967634 - Apply fixes from `python-sites` lint r=ahal,mach-reviewers"

This reverts commit 5953da8cb8.

Revert "Bug 1967634 - Add `python-sites` lint to facilitate adding rules specific to `python/sites/` r=ahal"

This reverts commit 83917ff26d.

Revert "Bug 1965907 - Re-enable `test_vendor.py` r=ahal"

This reverts commit 6777024795.
2025-05-30 20:33:45 +00:00
Eitan Isaacson 779b2feecd Bug 1898654 - Make EXPANDABLE/EXPANDED/COLLAPSED states consistent. r=Jamie
Calculate COLLAPSED as a presence of EXPANDABLE with an absence of
EXPANDED. Also, tried to remove direct uses of COLLAPSED whereever
reasonable.

Note: We will still fire COLLAPSED state changes, so that's good.

Differential Revision: https://phabricator.services.mozilla.com/D251745
2025-05-30 17:41:24 +00:00
Tom Schuster b8d11d463f Bug 1951893 - Remove unneeded StaticAtom suffixes. r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D240598
2025-03-11 11:36:09 +00:00
Adam Vandolder 88882be017 Bug 1665151 - Part 2: Expose custom element default accessibility attributes. r=edgar,Jamie,credential-management-reviewers,sgalich
Differential Revision: https://phabricator.services.mozilla.com/D159237
2022-11-02 14:50:56 +00:00
Eitan Isaacson dd2f95aa73 Bug 1693607 - [Linux] Add braces around statements. r=morgan
This is a collaboration between clang-tidy and clang-format.

clang-tidy uses compiled code paths, so this patch is linux specific.

Differential Revision: https://phabricator.services.mozilla.com/D105669
2021-02-19 23:14:32 +00:00
James Teh db0b460f33 Bug 1359482: Don't expose the editable state on ARIA grids and gridcells. r=eeejay
The editable state is about navigable text (with a caret), not editable as in "not read only".
ATs don't want this exposed for grids and it causes problems for them.
They can (and already do) distinguish between gridcell and cell using xml-roles.

Differential Revision: https://phabricator.services.mozilla.com/D101707
2021-01-15 01:32:13 +00:00
Sylvestre Ledru e5a134f73a Bug 1511181 - Reformat everything to the Google coding style r=ehsan a=clang-format
# ignore-this-changeset
2018-11-30 11:46:48 +01:00
Nicholas Nethercote 325d491a33 Bug 1451169 - Use nsStaticAtom* instead of nsStaticAtom** in Element.h. r=baku 2018-04-03 13:21:06 +10:00
Ciure Andrei ea89df62df Backed out 8 changesets (bug 1451169) on request from njn a=backout
Backed out changeset b92f856e15a8 (bug 1451169)
Backed out changeset 348e825756fa (bug 1451169)
Backed out changeset 624d82428726 (bug 1451169)
Backed out changeset 4d51610ca08e (bug 1451169)
Backed out changeset bb76a9589717 (bug 1451169)
Backed out changeset c145fbd03947 (bug 1451169)
Backed out changeset 6d36289e0f54 (bug 1451169)
Backed out changeset 914fb7cd9fc3 (bug 1451169)
2018-04-11 11:22:05 +03:00
Nicholas Nethercote 7ccd4b9401 Bug 1451169 - Use nsStaticAtom* instead of nsStaticAtom** in Element.h. r=baku
And then fix up everything else that needs to change as well.

MozReview-Commit-ID: GDMfERqdQAc
2018-04-03 13:21:06 +10:00
Nicholas Nethercote 21a918ec7d Bug 1445117 - Remove duplicates from nsGkAtoms. r=froydnj
In each case, the atom had an obvious name and a weird name. Where possible, I
kept the obvious name and commented out the weird name, viz:

- `mixed` over `_mixed` for "mixed"
- `el` over `el_` for "el"
- `other` over `other_` for "other"
- `remote` over `Remote` for "remote"

But for several of them I didn't do that, because the weird name is used
within the HTML5 parser -- which is a huge pain to modify because it involves
code generated by code from another repo -- so I kept the weird name and
commented out the obvious name, viz:

- `list_` over `list` for "list"
- `svgSwitch` over `_switch` for "switch"
- `set_` over `set` for "set"

MozReview-Commit-ID: Jp3CpdWXNDm
2018-03-14 10:27:25 +11:00
Emilio Cobos Álvarez 8a71d3197b Bug 1423990: Move the last few attribute-related methods outside of nsIContent. r=bz
MozReview-Commit-ID: 8JZuS6O8f8W
2017-12-25 17:50:10 +01:00
Emilio Cobos Álvarez ecd202d763 Backout changeset e43f568b3e9a (bug 1423990) because some OSX-only code still doesn't build. r=me 2017-12-25 12:55:45 +01:00
Emilio Cobos Álvarez b3956b6171 Bug 1423990: Move the last few attribute-related methods outside of nsIContent. r=bz
MozReview-Commit-ID: 8JZuS6O8f8W
2017-12-07 19:13:50 +01:00
Nicholas Nethercote 465f16fc67 Bug 1411893 - Introduce nsStaticAtom. r=emilio,froydnj.
It's a sub-class of nsAtom, useful for cases where you know you are dealing
exclusively with static atoms. The nice thing about it is that you can use
raw nsStaticAtom pointers instead of RefPtr<>. (In fact, the AddRef/Release
implementations ensure that we'll crash if we use RefPtr<nsStaticAtom>.)

MozReview-Commit-ID: 4Q6QHX5h44V
2017-10-27 10:31:13 +11:00
Nicholas Nethercote 7dbfdaf890 Bug 1400460 - Rename nsIAtom as nsAtom. r=hiro.
(Path is actually r=froydnj.)

Bug 1400459 devirtualized nsIAtom so that it is no longer a subclass of
nsISupports. This means that nsAtom is now a better name for it than nsIAtom.

MozReview-Commit-ID: 91U22X2NydP
2017-10-03 09:05:19 +11:00
Joanmarie Diggs fcdc1cbbb3 Bug 1358447 - Elements which do not support aria-checked="mixed" should not expose "checked" accessibility state. r=marcoz
Treat an author-provided value of "mixed" as the equivalent of "false" for
ARIA roles which do not support the "mixed" state on a given property.
2017-07-03 19:12:00 +02:00
Joanmarie Diggs 454c0a57d9 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
Alexander Surkov 41ce1e64fe Bug 1105273 - Accessibility mapping for aria-modal, r=davidb 2014-11-28 10:01:43 -05:00
Alexander Surkov 3003d0475d Bug 1020548 - update aria-orientation impl to ARIA 1.1, r=tbsaunde, sr=neil 2014-08-11 08:13:44 -04:00
Birunthan Mohanathas e551bc9312 Bug 1028563 - Part 1: Flatten accessible/src/ directory. rs=surkov 2014-06-22 10:15:19 -07:00