@lwc/aria-reflection
Advanced tools
Comparing version 6.6.5 to 6.6.6
@@ -89,3 +89,3 @@ /** | ||
} | ||
/** version: 6.6.5 */ | ||
/** version: 6.6.6 */ | ||
//# sourceMappingURL=index.cjs.js.map |
@@ -87,3 +87,3 @@ /** | ||
} | ||
/** version: 6.6.5 */ | ||
/** version: 6.6.6 */ | ||
//# sourceMappingURL=index.js.map |
@@ -7,3 +7,3 @@ { | ||
"name": "@lwc/aria-reflection", | ||
"version": "6.6.5", | ||
"version": "6.6.6", | ||
"description": "ARIA element reflection polyfill for strings", | ||
@@ -10,0 +10,0 @@ "keywords": [ |
109
README.md
@@ -34,55 +34,64 @@ # @lwc/aria-reflection | ||
The polyfill patches these [standard](https://w3c.github.io/aria/#idl-interface) properties: | ||
The polyfill patches these [standard](https://w3c.github.io/aria/#ARIAMixin) property/attribute reflections: | ||
- ariaAtomic | ||
- ariaAutoComplete | ||
- ariaBusy | ||
- ariaChecked | ||
- ariaColCount | ||
- ariaColIndex | ||
- ariaColSpan | ||
- ariaCurrent | ||
- ariaDisabled | ||
- ariaExpanded | ||
- ariaHasPopup | ||
- ariaHidden | ||
- ariaInvalid | ||
- ariaKeyShortcuts | ||
- ariaLabel | ||
- ariaLevel | ||
- ariaLive | ||
- ariaModal | ||
- ariaMultiLine | ||
- ariaMultiSelectable | ||
- ariaOrientation | ||
- ariaPlaceholder | ||
- ariaPosInSet | ||
- ariaPressed | ||
- ariaReadOnly | ||
- ariaRelevant | ||
- ariaRequired | ||
- ariaRoleDescription | ||
- ariaRowCount | ||
- ariaRowIndex | ||
- ariaRowSpan | ||
- ariaSelected | ||
- ariaSetSize | ||
- ariaSort | ||
- ariaValueMax | ||
- ariaValueMin | ||
- ariaValueNow | ||
- ariaValueText | ||
- role | ||
| Property | Attribute | | ||
| ---------------------------- | ----------------------------- | | ||
| `ariaAtomic` | `aria-atomic` | | ||
| `ariaAutoComplete` | `aria-autocomplete` | | ||
| `ariaBrailleLabel` | `aria-braillelabel` | | ||
| `ariaBrailleRoleDescription` | `aria-brailleroledescription` | | ||
| `ariaBusy` | `aria-busy` | | ||
| `ariaChecked` | `aria-checked` | | ||
| `ariaColCount` | `aria-colcount` | | ||
| `ariaColIndex` | `aria-colindex` | | ||
| `ariaColIndexText` | `aria-colindextext` | | ||
| `ariaColSpan` | `aria-colspan` | | ||
| `ariaCurrent` | `aria-current` | | ||
| `ariaDescription` | `aria-description` | | ||
| `ariaDisabled` | `aria-disabled` | | ||
| `ariaExpanded` | `aria-expanded` | | ||
| `ariaHasPopup` | `aria-haspopup` | | ||
| `ariaHidden` | `aria-hidden` | | ||
| `ariaInvalid` | `aria-invalid` | | ||
| `ariaKeyShortcuts` | `aria-keyshortcuts` | | ||
| `ariaLabel` | `aria-label` | | ||
| `ariaLevel` | `aria-level` | | ||
| `ariaLive` | `aria-live` | | ||
| `ariaModal` | `aria-modal` | | ||
| `ariaMultiLine` | `aria-multiline` | | ||
| `ariaMultiSelectable` | `aria-multiselectable` | | ||
| `ariaOrientation` | `aria-orientation` | | ||
| `ariaPlaceholder` | `aria-placeholder` | | ||
| `ariaPosInSet` | `aria-posinset` | | ||
| `ariaPressed` | `aria-pressed` | | ||
| `ariaReadOnly` | `aria-readonly` | | ||
| `ariaRelevant` | `aria-relevant` | | ||
| `ariaRequired` | `aria-required` | | ||
| `ariaRoleDescription` | `aria-roledescription` | | ||
| `ariaRowCount` | `aria-rowcount` | | ||
| `ariaRowIndex` | `aria-rowindex` | | ||
| `ariaRowIndexText` | `aria-rowindextext` | | ||
| `ariaRowSpan` | `aria-rowspan` | | ||
| `ariaSelected` | `aria-selected` | | ||
| `ariaSetSize` | `aria-setsize` | | ||
| `ariaSort` | `aria-sort` | | ||
| `ariaValueMax` | `aria-valuemax` | | ||
| `ariaValueMin` | `aria-valuemin` | | ||
| `ariaValueNow` | `aria-valuenow` | | ||
| `ariaValueText` | `aria-valuetext` | | ||
| `role` | `role` | | ||
As well as these [currently non-standard](https://github.com/w3c/aria/issues/1732) properties: | ||
As well as these [non-standard](https://github.com/w3c/aria/issues/1732) reflections: | ||
- ariaActiveDescendant | ||
- ariaControls | ||
- ariaDescribedBy | ||
- ariaDetails | ||
- ariaErrorMessage | ||
- ariaFlowTo | ||
- ariaLabelledBy | ||
- ariaOwns | ||
| Property | Attribute | | ||
| ---------------------- | ----------------------- | | ||
| `ariaActiveDescendant` | `aria-activedescendant` | | ||
| `ariaControls` | `aria-controls` | | ||
| `ariaDescribedBy` | `aria-describedby` | | ||
| `ariaDetails` | `aria-details` | | ||
| `ariaErrorMessage` | `aria-errormessage` | | ||
| `ariaFlowTo` | `aria-flowto` | | ||
| `ariaLabelledBy` | `aria-labelledby` | | ||
| `ariaOwns` | `aria-owns` | | ||
To determine which browsers already support ARIA reflection, see [this test](https://bl.ocks.org/nolanlawson/raw/66448a53df90680a81bda78ff8486014/). | ||
To determine which browsers support ARIA reflection, see the relevant [Web Platform Tests](https://web-platform-tests.org/) for [ARIA string reflection](https://wpt.fyi/results/custom-elements/reactions/AriaMixin-string-attributes.html?label=experimental&label=master&aligned) and [ARIA element reflection](https://wpt.fyi/results/custom-elements/reactions/AriaMixin-element-attributes.html?label=experimental&label=master&aligned). |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
21511
97