You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Looking at the ARIAMixin spec and the aria* props available on Element.prototype in Chrome, there are a few we're missing.
Missing per Chrome:
ariaBrailleLabel
ariaBrailleRoleDescription
ariaDescription
Missing per the latest spec:
ariaColIndexText
ariaDescription
ariaRowIndexText
Once #3666 is released and we are out of the business of applying global polyfills, it should be safe to add these to the LightningElement/BaseBridgeElement prototypes. This will make it so that a template like:
<x-cmparia-description="foo"></x-cmp>
...results in the ariaDescription prop (not attr) being set on x-cmp. This is consistent with what we currently do for most ARIA props, which allows for things like overriding the aria* getter/setter, plus convenience accessors like this.aria*.
Note: per Safari we are also missing the *Element/*Elements APIs, but since these are element reflection and not string reflection, we probably shouldn't do anything with these. Also we already have our non-standard string reflection for these:
ariaActiveDescendantElement
ariaControlsElements
ariaDescribedByElements
ariaDetailsElements
ariaErrorMessageElements
ariaFlowToElements
ariaLabelledByElements
ariaOwnsElements
The text was updated successfully, but these errors were encountered:
Looking at the ARIAMixin spec and the
aria*
props available onElement.prototype
in Chrome, there are a few we're missing.Missing per Chrome:
Missing per the latest spec:
Once #3666 is released and we are out of the business of applying global polyfills, it should be safe to add these to the
LightningElement
/BaseBridgeElement
prototypes. This will make it so that a template like:...results in the
ariaDescription
prop (not attr) being set onx-cmp
. This is consistent with what we currently do for most ARIA props, which allows for things like overriding thearia*
getter/setter, plus convenience accessors likethis.aria*
.Note: per Safari we are also missing the
*Element
/*Elements
APIs, but since these are element reflection and not string reflection, we probably shouldn't do anything with these. Also we already have our non-standard string reflection for these:The text was updated successfully, but these errors were encountered: