New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@types/aria-query

Package Overview
Dependencies
Maintainers
1
Versions
10
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@types/aria-query

TypeScript definitions for aria-query

5.0.4
ts4.5
ts4.6
ts4.7
ts4.8
ts4.9
ts5.0
ts5.1
ts5.2
ts5.3
ts5.4
ts5.5
ts5.6
ts5.7
ts5.8
ts5.9
latest
Source
npm
Version published
Maintainers
1
Created

What is @types/aria-query?

The @types/aria-query package provides TypeScript type definitions for aria-query, a library that maps ARIA roles, states, and properties to their respective values and types. This package is essential for developers using TypeScript to build accessible web applications, ensuring type safety and autocomplete features for ARIA-related code.

What are @types/aria-query's main functionalities?

Type Definitions for ARIA Roles

Provides TypeScript types for querying details about ARIA roles, such as 'button', 'checkbox', etc., including their required states and properties.

import { ARIARoleDefintionMap } from 'aria-query';

const roleMap: ARIARoleDefintionMap = require('aria-query').roles;
console.log(roleMap['button']);

Type Definitions for ARIA States and Properties

Offers TypeScript types for ARIA states and properties, enabling developers to access information about each state or property, such as type, values, and applicability.

import { ARIAStateMap } from 'aria-query';

const stateMap: ARIAStateMap = require('aria-query').states;
console.log(stateMap['aria-checked']);

Other packages similar to @types/aria-query

FAQs

Package last updated on 06 Nov 2023

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts