Skip to content

Commit

Permalink
Merge pull request #82 from chasefleming/chasefleming/81
Browse files Browse the repository at this point in the history
Add ARIA Attributes
  • Loading branch information
chasefleming authored Nov 17, 2023
2 parents e1eccbe + b164f4d commit be59db6
Showing 1 changed file with 35 additions and 0 deletions.
35 changes: 35 additions & 0 deletions attrs/attrs.go
Original file line number Diff line number Diff line change
Expand Up @@ -106,6 +106,41 @@ const (
// Source Element-Specific Attributes
Media = "media"
Sizes = "sizes"

// ARIA Attributes
AriaActivedescendant = "aria-activedescendant"
AriaAtomic = "aria-atomic"
AriaAutocomplete = "aria-autocomplete"
AriaBusy = "aria-busy"
AriaChecked = "aria-checked"
AriaControls = "aria-controls"
AriaDescribedby = "aria-describedby"
AriaDisabled = "aria-disabled"
AriaExpanded = "aria-expanded"
AriaFlowto = "aria-flowto"
AriaHaspopup = "aria-haspopup"
AriaHidden = "aria-hidden"
AriaInvalid = "aria-invalid"
AriaLabel = "aria-label"
AriaLabelledby = "aria-labelledby"
AriaLevel = "aria-level"
AriaLive = "aria-live"
AriaModal = "aria-modal"
AriaMultiline = "aria-multiline"
AriaMultiselectable = "aria-multiselectable"
AriaOrientation = "aria-orientation"
AriaOwns = "aria-owns"
AriaPlaceholder = "aria-placeholder"
AriaPressed = "aria-pressed"
AriaReadonly = "aria-readonly"
AriaRequired = "aria-required"
AriaRoledescription = "aria-roledescription"
AriaSelected = "aria-selected"
AriaSort = "aria-sort"
AriaValuemax = "aria-valuemax"
AriaValuemin = "aria-valuemin"
AriaValuenow = "aria-valuenow"
AriaValuetext = "aria-valuetext"
)

type Props map[string]string

0 comments on commit be59db6

Please sign in to comment.