Gathering detailed insights and metrics for dom-accessibility-api
Gathering detailed insights and metrics for dom-accessibility-api
Gathering detailed insights and metrics for dom-accessibility-api
Gathering detailed insights and metrics for dom-accessibility-api
Implements https://w3c.github.io/accname/
npm install dom-accessibility-api
Module System
Min. Node Version
Typescript Support
Node Version
NPM Version
102 Stars
910 Commits
29 Forks
3 Watching
35 Branches
16 Contributors
Updated on 15 Nov 2024
Minified
Minified + Gzipped
JavaScript (63.07%)
TypeScript (36.93%)
Cumulative downloads
Total Downloads
Last day
-1.5%
3,892,909
Compared to previous day
Last week
3.9%
19,977,687
Compared to previous week
Last month
13.2%
82,844,506
Compared to previous month
Last year
51.3%
771,834,886
Compared to previous year
33
Computes the accessible name or description of a given DOM Element. https://w3c.github.io/accname/ implemented in JavaScript for testing.
1$ yarn add dom-accessibility-api
1import { 2 computeAccessibleName, 3 computeAccessibleDescription, 4} from "dom-accessibility-api";
I'm not an editor of any of the referenced specs (nor very experience with using them) so if you got any insights, something catches your eye please open an issue.
WARNING: Only active node versions are supported. Inactive node versions can stop working in a SemVer MINOR release.
1ie 11 2edge >= 14 3firefox >= 52 4chrome >= 49 5safari >= 10 6node 10.0
Using https://github.com/web-platform-tests/wpt. Be sure to init submodules when cloning. See the test readme for more info about the test setup.
153/159
1 web-platform-tests 2 accname 3 ✓ [expected fail] description_1.0_combobox-focusable-manual.html 4 ✓ [expected fail] description_from_content_of_describedby_element-manual.html 5 ✓ description_link-with-label-manual.html 6 ✓ description_test_case_557-manual.html 7 ✓ description_test_case_664-manual.html 8 ✓ description_test_case_665-manual.html 9 ✓ description_test_case_666-manual.html 10 ✓ description_test_case_772-manual.html 11 ✓ description_test_case_773-manual.html 12 ✓ description_test_case_774-manual.html 13 ✓ description_test_case_838-manual.html 14 ✓ description_test_case_broken_reference-manual.html 15 ✓ description_test_case_one_valid_reference-manual.html 16 ✓ description_title-same-element-manual.html 17 ✓ name_1.0_combobox-focusable-alternative-manual.html 18 ✓ name_1.0_combobox-focusable-manual.html 19 ✓ name_checkbox-label-embedded-combobox-manual.html 20 ✓ name_checkbox-label-embedded-listbox-manual.html 21 ✓ name_checkbox-label-embedded-menu-manual.html 22 ✓ name_checkbox-label-embedded-select-manual.html 23 ✓ name_checkbox-label-embedded-slider-manual.html 24 ✓ name_checkbox-label-embedded-spinbutton-manual.html 25 ✓ name_checkbox-label-embedded-textbox-manual.html 26 ✓ name_checkbox-label-multiple-label-alternative-manual.html 27 ✓ name_checkbox-label-multiple-label-manual.html 28 ✓ name_checkbox-title-manual.html 29 ✓ name_file-label-embedded-combobox-manual.html 30 ✓ name_file-label-embedded-menu-manual.html 31 ✓ name_file-label-embedded-select-manual.html 32 ✓ name_file-label-embedded-slider-manual.html 33 ✓ name_file-label-embedded-spinbutton-manual.html 34 ✓ [expected fail] name_file-label-inline-block-elements-manual.html 35 ✓ [expected fail] name_file-label-inline-block-styles-manual.html 36 ✓ name_file-label-inline-hidden-elements-manual.html 37 ✓ name_file-label-owned-combobox-manual.html 38 ✓ name_file-label-owned-combobox-owned-listbox-manual.html 39 ✓ name_file-title-manual.html 40 ✓ name_from_content-manual.html 41 ✓ name_from_content_of_label-manual.html 42 ✓ name_from_content_of_labelledby_element-manual.html 43 ✓ name_from_content_of_labelledby_elements_one_of_which_is_hidden-manual.html 44 ✓ name_heading-combobox-focusable-alternative-manual.html 45 ✓ name_image-title-manual.html 46 ✓ name_link-mixed-content-manual.html 47 ✓ name_link-with-label-manual.html 48 ✓ name_password-label-embedded-combobox-manual.html 49 ✓ name_password-label-embedded-menu-manual.html 50 ✓ name_password-label-embedded-select-manual.html 51 ✓ name_password-label-embedded-slider-manual.html 52 ✓ name_password-label-embedded-spinbutton-manual.html 53 ✓ name_password-title-manual.html 54 ✓ name_radio-label-embedded-combobox-manual.html 55 ✓ name_radio-label-embedded-menu-manual.html 56 ✓ name_radio-label-embedded-select-manual.html 57 ✓ name_radio-label-embedded-slider-manual.html 58 ✓ name_radio-label-embedded-spinbutton-manual.html 59 ✓ name_radio-title-manual.html 60 ✓ name_test_case_539-manual.html 61 ✓ name_test_case_540-manual.html 62 ✓ name_test_case_541-manual.html 63 ✓ name_test_case_543-manual.html 64 ✓ name_test_case_544-manual.html 65 ✓ name_test_case_545-manual.html 66 ✓ name_test_case_546-manual.html 67 ✓ name_test_case_547-manual.html 68 ✓ name_test_case_548-manual.html 69 ✓ name_test_case_549-manual.html 70 ✓ name_test_case_550-manual.html 71 ✓ name_test_case_551-manual.html 72 ✓ [expected fail] name_test_case_552-manual.html 73 ✓ [expected fail] name_test_case_553-manual.html 74 ✓ name_test_case_556-manual.html 75 ✓ name_test_case_557-manual.html 76 ✓ name_test_case_558-manual.html 77 ✓ name_test_case_559-manual.html 78 ✓ name_test_case_560-manual.html 79 ✓ name_test_case_561-manual.html 80 ✓ name_test_case_562-manual.html 81 ✓ name_test_case_563-manual.html 82 ✓ name_test_case_564-manual.html 83 ✓ name_test_case_565-manual.html 84 ✓ name_test_case_566-manual.html 85 ✓ name_test_case_596-manual.html 86 ✓ name_test_case_597-manual.html 87 ✓ name_test_case_598-manual.html 88 ✓ name_test_case_599-manual.html 89 ✓ name_test_case_600-manual.html 90 ✓ name_test_case_601-manual.html 91 ✓ name_test_case_602-manual.html 92 ✓ name_test_case_603-manual.html 93 ✓ name_test_case_604-manual.html 94 ✓ name_test_case_605-manual.html 95 ✓ name_test_case_606-manual.html 96 ✓ name_test_case_607-manual.html 97 ✓ name_test_case_608-manual.html 98 ✓ name_test_case_609-manual.html 99 ✓ name_test_case_610-manual.html 100 ✓ name_test_case_611-manual.html 101 ✓ name_test_case_612-manual.html 102 ✓ name_test_case_613-manual.html 103 ✓ name_test_case_614-manual.html 104 ✓ name_test_case_615-manual.html 105 ✓ name_test_case_616-manual.html 106 ✓ name_test_case_617-manual.html 107 ✓ name_test_case_618-manual.html 108 ✓ name_test_case_619-manual.html 109 ✓ name_test_case_620-manual.html 110 ✓ name_test_case_621-manual.html 111 ✓ [expected fail] name_test_case_659-manual.html 112 ✓ [expected fail] name_test_case_660-manual.html 113 ✓ [expected fail] name_test_case_661-manual.html 114 ✓ [expected fail] name_test_case_662-manual.html 115 ✓ [expected fail] name_test_case_663a-manual.html 116 ✓ name_test_case_721-manual.html 117 ✓ name_test_case_723-manual.html 118 ✓ name_test_case_724-manual.html 119 ✓ name_test_case_725-manual.html 120 ✓ name_test_case_726-manual.html 121 ✓ name_test_case_727-manual.html 122 ✓ name_test_case_728-manual.html 123 ✓ name_test_case_729-manual.html 124 ✓ name_test_case_730-manual.html 125 ✓ name_test_case_731-manual.html 126 ✓ name_test_case_733-manual.html 127 ✓ name_test_case_734-manual.html 128 ✓ name_test_case_735-manual.html 129 ✓ name_test_case_736-manual.html 130 ✓ name_test_case_737-manual.html 131 ✓ name_test_case_738-manual.html 132 ✓ name_test_case_739-manual.html 133 ✓ name_test_case_740-manual.html 134 ✓ name_test_case_741-manual.html 135 ✓ name_test_case_742-manual.html 136 ✓ name_test_case_743-manual.html 137 ✓ name_test_case_744-manual.html 138 ✓ name_test_case_745-manual.html 139 ✓ name_test_case_746-manual.html 140 ✓ name_test_case_747-manual.html 141 ✓ name_test_case_748-manual.html 142 ✓ name_test_case_749-manual.html 143 ✓ name_test_case_750-manual.html 144 ✓ name_test_case_751-manual.html 145 ✓ name_test_case_752-manual.html 146 ✓ [expected fail] name_test_case_753-manual.html 147 ✓ [expected fail] name_test_case_754-manual.html 148 ✓ [expected fail] name_test_case_755-manual.html 149 ✓ [expected fail] name_test_case_756-manual.html 150 ✓ [expected fail] name_test_case_757-manual.html 151 ✓ [expected fail] name_test_case_758-manual.html 152 ✓ [expected fail] name_test_case_759-manual.html 153 ✓ [expected fail] name_test_case_760-manual.html 154 ✓ [expected fail] name_test_case_761-manual.html 155 ✓ [expected fail] name_test_case_762-manual.html 156 ✓ name_text-label-embedded-combobox-manual.html 157 ✓ name_text-label-embedded-menu-manual.html 158 ✓ name_text-label-embedded-select-manual.html 159 ✓ name_text-label-embedded-slider-manual.html 160 ✓ name_text-label-embedded-spinbutton-manual.html 161 ✓ name_text-title-manual.html
No vulnerabilities found.
Reason
no dangerous workflow patterns detected
Reason
no binaries found in the repo
Reason
license file detected
Details
Reason
SAST tool detected but not run on all commits
Details
Reason
Found 1/2 approved changesets -- score normalized to 5
Reason
7 existing vulnerabilities detected
Details
Reason
1 commit(s) and 2 issue activity found in the last 90 days -- score normalized to 2
Reason
detected GitHub workflow tokens with excessive permissions
Details
Reason
no effort to earn an OpenSSF best practices badge detected
Reason
security policy file not detected
Details
Reason
dependency not pinned by hash detected -- score normalized to 0
Details
Reason
project is not fuzzed
Details
Score
Last Scanned on 2024-11-25
The Open Source Security Foundation is a cross-industry collaboration to improve the security of open source software (OSS). The Scorecard provides security health metrics for open source projects.
Learn More@storybook/addon-highlight
Highlight DOM nodes within your stories
eslint-plugin-jsx-a11y
Static AST checker for accessibility rules on JSX elements.
accessibility-checker-engine
An automated accessibility checking engine for use by other tools
react-aria-components
A library of styleable components built using React Aria