aria-query
5.3.2 · 20 Sep 2024Apache-2.0220.3M / weekRepositoryHomepagenpmAtom feed
29 stable releases, newest first, by release line. Notes are quoted as the maintainers published them.
- 5.x · latest line
5.3.2
20 Sep 2024Node < 4 lacks
.findandObject.assignCreate SECURITY.yml and FUNDING.yml
A bug fix, and a bunch of testing cleanups.
Node < 4 lacks
.findandObject.assignCreate SECURITY.yml and FUNDING.yml
5.3.1
12 Sep 2024Remove dequal from the project
Add missing
doc-pagefooteranddoc-pageheaderrolesFix defect in calling code when building the ElementRoleMap
Removes the only runtime dependency from the project, and restores/broadens engines compatibility, plus a few bug fixes.
Remove dequal from the project
Add missing
doc-pagefooteranddoc-pageheaderrolesFix defect in calling code when building the ElementRoleMap
Add missing constraints for
asideelement to have implicitcomplementaryrole
5.3.0
24 Jun 2023Amend breaking changes and reinstate constraints
Add prepublishOnly step to package.json
Reverts some API data shape changes from 5.2.x. Also reverts some changes to the representation of the ARIA spec.
Amend breaking changes and reinstate constraints
Add prepublishOnly step to package.json
5.2.1
13 Jun 2023Run npm i to update package-lock.json
5.1.1
23 Oct 2022- removed
Remove Node 12 as a target for Jest unit testing
Introduce iteration support to the Maps in the module
Update out of date packages to latest major versions
5.1.0 / 5.1.1
This minor release introduces iteration support to the primary objects of the module, through the
Symbol.iteratorproperty. This reintroduces a native-likeMapiteration support that was lost in the v3 update. AforEachmethod is also introduced in this update. The common interface of all objects exposed by this module is now:type TAriaQueryMap<E, K, V> = { entries: () => E, forEach: ((V, K, E) => void) => void, get: (key: K) => ?V, has: (key: K) => boolean, keys: () => Array<K>, values: () => Array<V>, @@iterator?: () => Iterator<E>, };Commits of note
Introduce iteration support to the Maps in the module
- removed
Remove Node 12 as a target for Jest unit testing
Update out of date packages to latest major versions
Ran npm up --dev --save
Add graphics-* roles
Plumb the graphics roles through to rolesMap
No changes, just trying to get the NPM build to reflect the changes in v5.1.2
[Update] The 5.2.x minor version contains breaking changes and should be skipped.
Commit f7f6120 contains a substantial audit and update of the project to match the ARIA spec. Testing coverage was substantially improved. It really locks down the project's output.
Switch to dequal to remove 45 transitive dependencies
Install command for codesandbox ci
Add test case to elementRoleMap-test for td element
Audited and updated roles source of truth to HTML Accessibility API Mapping 1.0
5.0.0
4 Oct 2021- removed
Remove bash-like command in flow NPM script
- removed
Remove deprecated props
The module exports are no longer Maps, so you cannot spread them directly into an array to access their items. Use the
entriesmethod to get access to the items.
This major release removes the runtime Babel dependencies that were necessary because of Map and Set usage. Map and Set usages are now replaced with object and array literals.
These are the changes in usage you might need to account for:
The module exports are no longer Maps, so you cannot spread them directly into an array to access their items. Use the
entriesmethod to get access to the items.Some values used to be Sets; these are now Arrays.
The
keysandvaluesmethods now return arrays, not iterators.There is no
forEachmethod. One could be added in the future, but at present, it does not exist on the exports.
Commits of note
Remove the usage of Maps and Sets, along with the Babel Runtime - dependency
Update Flow bin version
Add aria-valuenow prop to the separator role
Use block for instead of iterable for
Remove spread operator from roleElementMap
Update the test for roleElementMap to include specific items
Remove spread operator from elementRoleMap
Add a test for the specific items in elementRoleMap
Account for nosync file paths in the ignore files
Fixing the package-lock.json file
Updating package-lock which only added an fsevents reference
- removed
Remove bash-like command in flow NPM script
Update coveralls, expect and flow-bin
Only diff the src dir in the CI Diff check
Type sig for ARIAPropertyDefinition
Update test.yml
Update test.yml
Create test.yml
Sync with stable editor's draft
definition/term roles
Sync with stable editor's draft
"that there is no maximum value" > no default value
Keep required props in sync with props
- removed
Remove deprecated props
Update ariaPropsMap
Update types
Update roles.json
Normalize required props
- 4.x
4.2.2
19 Jun 2020Fix the allowed props of the heading role (jsx-eslint/eslint-plugin-jsx-a11y#704)
4.2.1
19 Jun 2020Change master branch main in Travis
Handle header element as banner role
4.2.0
17 Jun 2020Add aria-level as a required prop for the heading role
Fix babelrc and update package lock
Manual add aria-valuetext to range
Upgrade support of ARIA from 1.1 to 1.2
Add aria-level as a required prop for the heading role
Fix babelrc and update package lock
Manual add aria-valuetext to range
Update with latest parser script
Superclass of generic is structure
Adding a license line
Input type is text by default
Revert relatedConcepts changes
Fix flowtype of prohibitedProps
Run node scripts/breakUpAriaJSON
Input type is text by default
4.0.2
8 Feb 2020Added the Copyright year (2020) for A11yance
Remove Peer Dependency to ESLint
4.0.1
2 Dec 2019Fix the incorrect ARIA designation of the region role to an HTML designation
4.0.0
28 Nov 2019- deprecated
(origin/deprecate-requireContextRole, deprecate-requireContextRole) Deprecate the mispelled requireContextRole. Replace with requiredContextRole.
(origin/fix-travis, fix-travis) Move allowed failures to excludes in Travis. The current failures are simply version incompatibilities.
(origin/fixe-all-roles-html-mappings, fixe-all-roles-html-mappings) Fix all inherent ARIA role to HTML mappings
(origin/fix-travis, fix-travis) Move allowed failures to excludes in Travis. The current failures are simply version incompatibilities.
(origin/fixe-all-roles-html-mappings, fixe-all-roles-html-mappings) Fix all inherent ARIA role to HTML mappings
(origin/fix-textbox, fix-textbox) Fix HTML relatedConcepts for textbox and combobox
(origin/fix-select-mapping, fix-select-mapping) Remove baseConcepts as a prop.
Fix mapping for the HTML select element
- deprecated
(origin/deprecate-requireContextRole, deprecate-requireContextRole) Deprecate the mispelled requireContextRole. Replace with requiredContextRole.
(origin/kurosawa-takeshi-add-double-check-tests, kurosawa-takeshi-add-double-check-tests) Update package lock file
(origin/kurosawa-takeshi-update-dpub-aria, kurosawa-takeshi-update-dpub-aria) Update breakUpAriaJSON script to include MapOfRoleDefinitions type on roll-up role classes-takeshi-update-dpub-aria
(origin/eps1lon-fix/ie11, eps1lon-fix/ie11) Undo the eslintrc changes
(origin/dependabot/npm_and_yarn/eslint-6.6.0, dependabot/npm_and_yarn/eslint-6.6.0) Fix duplicate peer dependencies
Updating allowed failures for odd versions of node
Update Travis and eslint peer dependencies
- 3.x
3.0.0
24 Jun 2018- breaking
Bumping to a major version because of a previous breaking change.
- 2.x
2.0.1
24 Jun 2018Added aria-errormessage to the ARIA Props Map.
2.0.0
27 Mar 2018Remove package-lock file.
Add Watchman config file.
- 1.x
1.0.1
27 Mar 2018- 0.7.x
- 0.6.x
0.6.0
31 May 2017- 0.5.x
0.5.0
11 Apr 2017- 0.4.x
0.4.0
11 Mar 2017- 0.3.x
0.3.0
31 Jan 2017- 0.2.x
0.2.0
24 Jan 2017- 0.1.x
0.1.0
24 Jan 2017