Skip to content

Commit

Permalink
Merge pull request #4466 from kuronijin/main
Browse files Browse the repository at this point in the history
Added the AriaRole types export
  • Loading branch information
rschristian authored Jul 31, 2024
2 parents 6ee78d2 + eeb9bdd commit 8d86fe1
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/jsx.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1997,7 +1997,7 @@ export namespace JSXInternal {
}

// All the WAI-ARIA 1.2 role attribute values from https://www.w3.org/TR/wai-aria-1.2/#role_definitions
type WAIAriaRole =
export type WAIAriaRole =
| 'alert'
| 'alertdialog'
| 'application'
Expand Down Expand Up @@ -2095,7 +2095,7 @@ export namespace JSXInternal {
| 'none presentation';

// All the Digital Publishing WAI-ARIA 1.0 role attribute values from https://www.w3.org/TR/dpub-aria-1.0/#role_definitions
type DPubAriaRole =
export type DPubAriaRole =
| 'doc-abstract'
| 'doc-acknowledgments'
| 'doc-afterword'
Expand Down Expand Up @@ -2136,7 +2136,7 @@ export namespace JSXInternal {
| 'doc-tip'
| 'doc-toc';

type AriaRole = WAIAriaRole | DPubAriaRole;
export type AriaRole = WAIAriaRole | DPubAriaRole;

export interface HTMLAttributes<RefType extends EventTarget = EventTarget>
extends ClassAttributes<RefType>,
Expand Down

0 comments on commit 8d86fe1

Please sign in to comment.