Repository navigation
slab-elements@0.3.0
Minor Changes
- #68
c39c01cThanks @ynotdraw! - Splitter's separator holds a visually hidden range input, which is what's focused and what screenreaders read, so screenreaders on phones can move it with a swipe up or down. The separator is no longer a[role=separator]itself, so screenreaders read it as a slider, and since it isn't focused, it doesn't match:focus-visible: style its focus ring through its newfocus-visiblepart, as in::part(separator focus-visible).
Patch Changes
-
#74
0479423Thanks @ynotdraw! - Withrange, Calendar tells screenreaders when the first day picked starts the range, and what the range is once the last is picked. Change what it says withrangeStartedLabelandrangeSelectedLabel. -
#71
2eb7fb7Thanks @ynotdraw! - The styled Checkbox's box is 24 pixels square rather than 22, the smallest target size WCAG 2.5.8 allows. -
#70
dce96a7Thanks @ynotdraw! - Color Picker'sarea-thumb,hue-thumbandalpha-thumbparts are listed in the elements manifest again, so editors and the docs show them. -
#72
2ab652bThanks @ynotdraw! - Command Palette tells screenreaders how many Options are left once typing pauses, the way Combobox does. SetresultsLabelto change what it says. With none left, what's slotted intoemptyis announced instead, as before, or "No results" when nothing is. -
#75
e1dd766Thanks @ynotdraw! - Disclosure has aheading-levelattribute that makes its label a heading of that level, as the APG's accordion puts each header in one. -
#73
a12cd3dThanks @ynotdraw! - File Drop tells screenreaders what a drop did: how many files were added, how many were left out for not matchingaccept, and when a drop of several files was ignored withoutmultiple. Change what it says withaddedLabel,notAcceptedLabelandtoo-many-label. -
#79
b293babThanks @ynotdraw! - Meter has aformatValueproperty, a function of the value whose result screenreaders read instead of the bare number, such as "3 of 5 GB". -
#76
83653c5Thanks @ynotdraw! - Popover has alabelattribute that makes it a non-modal dialog named by the label, witharia-haspopup="dialog"on its anchor, for a popover that holds a form or controls rather than a few words. -
#80
585778aThanks @ynotdraw! - Progress has aformatValueproperty, a function of the value whose result screenreaders read instead of a percentage, such as "3 of 10 files". -
#78
14d0e01Thanks @ynotdraw! - Range Slider has aformatValueproperty, a function of a thumb's value whose result screenreaders read instead of the bare number, such as "$40". -
#69
5bfb767Thanks @ynotdraw! - Range Slider'sstartandendparts are listed in the elements manifest again, so editors and the docs show them. -
#81
a36f03dThanks @ynotdraw! - Rating has aformatValueproperty, a function of each radio's number that names it, such as "3 stars" rather than "3". -
#77
bc5bc57Thanks @ynotdraw! - Slider has aformatValueproperty, a function of the value whose result screenreaders read instead of the bare number, such as "$40".