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

43 Коммитов

Автор SHA1 Сообщение Дата
James Teh e85d14a8ef Bug 1730175: Set aria-valuetext to "" on numeric datetime fields when the input is cleared. r=emilio,eeejay
Before this patch, we didn't set aria-valuetext when the value was initially empty, nor did we clear it after a value was set and subsequently cleared.
This resulted in incorrect numeric values being reported to users.
Now, we set aria-valuetext to "" in either of these cases.

Differential Revision: https://phabricator.services.mozilla.com/D125366
2021-09-29 06:30:06 +00:00
Sandor Molnar 9b742bfa2d Backed out changeset c8bcdcdc5fd7 (bug 1730175) for causing mochitest failures in test_datetime. CLOSED TREE 2021-09-29 06:37:56 +03:00
James Teh e414139808 Bug 1730175: Set aria-valuetext to "" on numeric datetime fields when the input is cleared. r=emilio,eeejay
Before this patch, we didn't set aria-valuetext when the value was initially empty, nor did we clear it after a value was set and subsequently cleared.
This resulted in incorrect numeric values being reported to users.
Now, we set aria-valuetext to "" in either of these cases.

Differential Revision: https://phabricator.services.mozilla.com/D125366
2021-09-29 02:48:15 +00:00
Morgan Reschenberg 588e12696e Bug 1460378: Introduce meter role and HTMLMeterAccessible class. r=Jamie
Differential Revision: https://phabricator.services.mozilla.com/D104759
2021-02-17 15:58:31 +00:00
James Teh 947ab30aca Bug 1650462: Don't include group descendants when calculating the acc name of treeitems. r=MarcoZ
Differential Revision: https://phabricator.services.mozilla.com/D83042
2020-07-13 01:32:33 +00:00
Maliha Islam f35ba542fb Bug 1357071 - Implement support for implicit values for aria-value* attributes for scrollbar and slider roles, r=Jamie
Differential Revision: https://phabricator.services.mozilla.com/D43293

--HG--
extra : moz-landing-system : lando
2019-08-29 06:39:28 +00:00
Dorel Luca efca664ecd Backed out changeset 7f1703036acf (bug 1357071) for Browser-chrome failures on accessible/tests/browser/e10s/browser_caching_value.js 2019-08-29 05:49:07 +03:00
Maliha Islam ea886244a0 Bug 1357071 - Implement support for implicit values for aria-value* attributes for scrollbar and slider roles, r=Jamie
Differential Revision: https://phabricator.services.mozilla.com/D43293

--HG--
extra : moz-landing-system : lando
2019-08-29 00:18:08 +00:00
Marco Zehe de9c156fb7 Bug 1501182 - Expose WAI-ARIA landmarks as landmark roles through accessibility APIs, r=Jamie
This change will bring us on par with what Chrome does. However, if the author makes an error in applying a landmark role to an interactive element, or other element where the landmark role is illegal, as defined in the [WAI-ARIA in HTML specification section 2](https://www.w3.org/TR/html-aria/#document-conformance-requirements-for-use-of-aria-attributes-in-html), the accessible properties will now be that of the landmark role, no longer that of the native host language element. This might make some elements less accessible due to author error than before, but we currently do not know of examples in the wild that actually expose this problem. This could only be solved by applying the rules from said table also in the user agents, but that is not specified anywhere.

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

--HG--
extra : moz-landing-system : lando
2019-08-15 01:25:56 +00:00
Brian Grinstead 911776d674 Bug 1544322 - Part 3 - Remove the [type] attribute for multiline <script> tags loading files in chrome://mochikit/content/ r=bzbarsky
This is an autogenerated commit to handle scripts loading mochitest harness files, in
the case where the script src is on the line below the script tag.

This was generated with https://bug1544322.bmoattachments.org/attachment.cgi?id=9058170
using the `--part 3` argument.

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

--HG--
extra : moz-landing-system : lando
2019-04-16 03:59:25 +00:00
Paolo Amadini b2a83ffc85 Bug 1499947 - Part 1 - Remove XULProgressMeterAccessible and its base template class. r=Jamie
Differential Revision: https://phabricator.services.mozilla.com/D12144

--HG--
extra : rebase_source : 81275b233770a7e9716a2b811a08060fc5006e1b
2018-11-20 14:10:38 +00:00
Alexander Surkov ff145aa9c4 Bug 1491197 - replace progressmeter XBL binding by a custom element, r=paolo
--HG--
rename : toolkit/content/widgets/progressmeter.xml => toolkit/content/widgets/progressmeter.js
2018-10-03 11:13:05 +05:00
James Teh e5a1c32097 Bug 1475376: Support aria-valuetext for implicit ARIA roles. r=MarcoZ
For example, <input type="range"> maps to role="slider", so aria-valuetext should be supported.

MozReview-Commit-ID: IYBVTHP3ZLo

--HG--
extra : rebase_source : 906dfacf92d040abf97b46ff67bafbabc5c9a1ea
2018-07-12 20:22:09 -04:00
Paolo Amadini 3cb26f3bcd Bug 1448126 - Part 1 - Remove tests for the "scale" binding. r=bgrins
MozReview-Commit-ID: 9LxA3ERl89r

--HG--
extra : rebase_source : d71a398bf09d954ce6213f37bf276e2f13943191
2018-06-24 17:19:15 +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
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
Chris Manchester f7a1b3fb60 Bug 1242051 - Add inter-directory test support file dependencies to ini manifests. r=gps
Previously, every test and support file would be synced to the objdir
when running any test. Now that only those support files and tests requested
are synced, we note support files required beyond those in a test's
directory in ini manifests.

MozReview-Commit-ID: EmlDz9d4lqt
2016-04-04 14:56:52 -07:00
Birunthan Mohanathas b11d9d823f Bug 1044111 - Collapse test-only moz.build files under accessible/ into ancestor moz.build files. r=ted 2014-07-28 18:02:44 -07:00
Alexander Surkov 6eaf68e1f9 Bug 559761 - make <input type=number> accessible, r=tbsaunde, smaug
--HG--
rename : accessible/tests/mochitest/value/test_range.html => accessible/tests/mochitest/value/test_number.html
2013-12-10 22:19:26 -05:00
Alexander Surkov 3fddde94b8 Bug 935698 - isolate nsIAccessibleValue implementation into separate class, r=tbsaunde 2013-11-19 16:01:15 -05:00
Ms2ger 1ee1f27aa3 Bug 922268 - Remove empty makefiles; r=gps 2013-10-03 09:10:00 +02:00
Gregory Szorc 36e28f1f8a Bug 920223 - Part 4: Mass convert MOCHITEST_A11Y_FILES to manifests; rs=Ms2ger 2013-09-30 09:52:09 +02:00
Ed Morley 7e2dd0546a Backed out changeset 39a308770f17 (bug 920223) 2013-09-30 12:50:02 +01:00
Gregory Szorc 00778cbb7e Bug 920223 - Part 4: Mass convert MOCHITEST_A11Y_FILES to manifests; rs=Ms2ger 2013-09-30 09:52:09 +02:00
Mike Hommey f8bc7fa754 Bug 912293 - Remove now redundant boilerplate from Makefile.in. r=gps 2013-09-05 09:01:46 +09:00
Alexander Surkov 70588fbd92 Bug 887250 - ARIA textbox role doesn't expose value, r=tbsaunde 2013-07-23 12:06:52 -04:00
Alexander Surkov b3dd9402da Bug 559764 - make input@type=range accessible, r=tbsaunde, roc, smaug 2013-04-28 09:54:54 +09:00
Matt Brubeck cbd07f4ebc Bug 854868 - Make srcdir and objdir paths match for in accessible/tests [r=tbsaunde]
--HG--
extra : rebase_source : 48ed2b3f811f4225c07276c931d26c00ccd25e6a
2013-04-08 12:44:47 -07:00
Kyle Machulis 72a717a860 Bug 855465 - Add emacs python mode comments to moz.build files; r=gps 2013-04-01 11:36:59 -07:00
Kyle Machulis 43628a7867 Backout for changeset 03452b187c14 (Bug 855465) due to bustage on a CLOSED TREE; r=qdot 2013-03-29 15:12:58 -07:00
Kyle Machulis 334c0800cf Bug 855465 - Add emacs python mode comments to moz.build files; r=gps
--HG--
extra : rebase_source : 004a756492323e1a049586e85b3be5037159df20
2013-03-29 13:56:18 -07:00
Gregory Szorc f6b3b9a84f Bug 784841 - Part 18a: Convert /accessible; r=glandium f=Ms2ger 2013-02-25 12:47:17 -08:00
Alexander Surkov beb64f76b4 Bug 819273 - ARIA combobox should have accessible value, r=tbsaunde 2012-12-23 09:54:13 +09:00
Mike Hommey 70d7c821af Bug 774032 bonus - Use @DEPTH@ and @relativesrcdir@ in Makefile.in. r=ted 2012-08-04 20:26:44 +02:00
Nathan Froyd bfff055672 Bug 370750 - consolidate mochitest files installation; r=glandium
With assistance on the patch from Ms2ger, Waldo, and Mossop.
2012-07-03 16:49:02 -04:00
Mark Capella fcec1569ca Bug 760756 - de-ns-ify nsHTMLLinkAccessible, r=surkov
--HG--
rename : accessible/src/html/nsHTMLLinkAccessible.cpp => accessible/src/html/HTMLLinkAccessible.cpp
rename : accessible/src/html/nsHTMLLinkAccessible.h => accessible/src/html/HTMLLinkAccessible.h
2012-06-04 08:32:38 -04:00
Gervase Markham 82ff7027aa Bug 716478 - update licence to MPL 2. 2012-05-21 12:12:37 +01:00
Ed Morley 7ea8e12caa Backout 4997c6f8b24d (bug 616542) for causing locally run mochitest-browser-chrome test runs to fail 2011-11-05 18:35:59 +00:00
Rail Aliiev ac65d0d88e Bug 616542 - Shorten file path length of mochitest; r=ted 2011-11-04 21:13:42 +00: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
Malini Das ea71db787e Bug 367393 - Add a packed MochiKit that contains only SimpleTest dependencies- chrome. r=jmaher, a=test-only 2011-08-12 12:21:36 -04:00
Alexander Surkov e31fc75bcb bug 559773 - make html5 progress element accessible r=marcoz,trev
From ed8e50f56d7c619a6df4ac906a5887d9788d58e2 Mon Sep 17 00:00:00 2001
https://bugzilla.mozilla.org/show_bug.cgi?id=559773
---
 accessible/src/base/nsAccessibilityAtomList.h      |    1 +
 accessible/src/base/nsAccessibilityService.cpp     |    9 +-
 accessible/src/base/nsFormControlAccessible.cpp    |  137 ++++++++++++++++++++
 accessible/src/base/nsFormControlAccessible.h      |   22 +++
 accessible/src/html/nsHTMLFormControlAccessible.h  |    5 +
 accessible/src/xul/nsXULFormControlAccessible.cpp  |  133 -------------------
 accessible/src/xul/nsXULFormControlAccessible.h    |   21 +---
 accessible/tests/mochitest/Makefile.in             |    3 +-
 accessible/tests/mochitest/value/Makefile.in       |   55 ++++++++
 .../{test_value.html => value/test_general.html}   |    4 +-
 .../tests/mochitest/value/test_progress.html       |   63 +++++++++
 .../{test_value.xul => value/test_progress.xul}    |    8 +-
 12 files changed, 303 insertions(+), 158 deletions(-)
 create mode 100644 accessible/tests/mochitest/value/Makefile.in
 rename accessible/tests/mochitest/{test_value.html => value/test_general.html} (98%)
 create mode 100644 accessible/tests/mochitest/value/test_progress.html
 rename accessible/tests/mochitest/{test_value.xul => value/test_progress.xul} (93%)

--HG--
rename : accessible/tests/mochitest/test_value.html => accessible/tests/mochitest/value/test_general.html
rename : accessible/tests/mochitest/test_value.xul => accessible/tests/mochitest/value/test_progress.xul
2011-05-11 22:55:12 -04:00