Skip to content

v0.5.5

Choose a tag to compare

@github-actions github-actions released this 31 May 11:27
· 310 commits to main since this release
7fea53d

Patch Changes

  • #627 0485441 Thanks @eps1lon! - Ensure certain babel helpers aren't required

    Source:

    -const [item] = list;
    +const item = list[0];

    Transpiled:

    -var _trim$split = list.trim().split(" "),
    -_trim$split2 = _slicedToArray(_trim$split, 1),
    -item = _trim$split2[0]
    +var item = list[0];
  • #629 383bdb6 Thanks @eps1lon! - Use label attribute for naming of <optgroup> elements.

    Given

    <select>
    	<optgroup label="foo">
    		<option value="1">bar</option>
    	</optgroup>
    </select>

    Previously the <optgroup /> would not have an accessible name.
    Though 2D in accname 1.2 could be interpreted to use the label attribute:

    Otherwise, if the current node's native markup provides an attribute (e.g. title) or element (e.g. HTML label) that defines a text alternative, return that alternative [...]

    This was confirmed in NVDA + FireFox.