You're Invited:Meet the Socket Team at BlackHat and DEF CON in Las Vegas, Aug 7-8.RSVP
Socket
Socket
Sign inDemoInstall

@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


Version published
Weekly downloads
12M
increased by0.35%
Maintainers
1
Install size
11.7 kB
Created
Weekly downloads
 

Package description

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

Readme

Source

Installation

npm install --save @types/aria-query

Summary

This package contains type definitions for aria-query (https://github.com/A11yance/aria-query#readme).

Details

Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/aria-query.

Additional Details

  • Last updated: Tue, 17 Oct 2023 22:10:13 GMT
  • Dependencies: none

Credits

These definitions were written by Sebastian Silbermann.

FAQs

Package last updated on 17 Oct 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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc