Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/heppokofrontend/jquery-accessible-name
A jQuery plugin to get the accessible name of elements.
https://github.com/heppokofrontend/jquery-accessible-name
a11y accessibility jquery jquery-plugin typescript
Last synced: 11 days ago
JSON representation
A jQuery plugin to get the accessible name of elements.
- Host: GitHub
- URL: https://github.com/heppokofrontend/jquery-accessible-name
- Owner: heppokofrontend
- License: mit
- Created: 2021-07-22T08:49:03.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2021-07-23T05:51:57.000Z (over 3 years ago)
- Last Synced: 2025-01-17T11:48:19.427Z (about 1 month ago)
- Topics: a11y, accessibility, jquery, jquery-plugin, typescript
- Language: TypeScript
- Homepage: https://www.npmjs.com/package/@heppokofrontend/jquery-accessible-name
- Size: 161 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# jQuery.fn.a11yName
[](LICENSE) [](https://www.npmjs.com/package/@heppokofrontend/jquery-accessible-name) [](https://www.jsdelivr.com/package/npm/@heppokofrontend/jquery-accessible-name) [](https://codeclimate.com/github/heppokofrontend/jquery-accessible-name/maintainability) [](https://codeclimate.com/github/heppokofrontend/jquery-accessible-name/test_coverage) [](https://snyk.io/test/npm/@heppokofrontend/jquery-accessible-name)
[](https://snyk.io/advisor/npm-package/@heppokofrontend/jquery-accessible-name)## Download
[Download is here](./lib)
## Install
### If use CDN:
```html
```
### If use npm:
```shell
npm i @heppokofrontend/jquery-accessible-name
```## Suppot
- The `aria-labelledby` attribute
- The `aria-label` attribute
- The `label` element
- The `title` attribute## Usage
```html
Your name```
```js
$(function() {
const a11yName = $('input').a11yName(); // > Your name
});
```## 元ネタ