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: 17 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: 2024-10-12T04:22:47.379Z (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
[![MIT License](http://img.shields.io/badge/license-MIT-blue.svg?style=flat)](LICENSE) [![Published on NPM](https://img.shields.io/npm/v/@heppokofrontend/jquery-accessible-name.svg)](https://www.npmjs.com/package/@heppokofrontend/jquery-accessible-name) [![](https://data.jsdelivr.com/v1/package/npm/@heppokofrontend/jquery-accessible-name/badge)](https://www.jsdelivr.com/package/npm/@heppokofrontend/jquery-accessible-name) [![Maintainability](https://api.codeclimate.com/v1/badges/49aacee2d65e23198462/maintainability)](https://codeclimate.com/github/heppokofrontend/jquery-accessible-name/maintainability) [![Test Coverage](https://api.codeclimate.com/v1/badges/49aacee2d65e23198462/test_coverage)](https://codeclimate.com/github/heppokofrontend/jquery-accessible-name/test_coverage) [![Known Vulnerabilities](https://snyk.io/test/npm/@heppokofrontend/jquery-accessible-name/badge.svg)](https://snyk.io/test/npm/@heppokofrontend/jquery-accessible-name)
[![jquery-accessible-name](https://snyk.io/advisor/npm-package/@heppokofrontend/jquery-accessible-name/badge.svg)](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
});
```## 元ネタ