@siteimprove/alfa-slice
Advanced tools
Changelog
0.96.0 (2024-12-06)
@siteimprove/alfa-rules: A new experimental rule SIA-R115: "Heading is descriptive" is now available. (#1722)
@siteimprove/alfa-dom: An Element<"summary">#isSummaryForItsParentDetails
predicate is now available. (#1728)
@siteimprove/alfa-rules: SIA-R116: "<summary>
element has non-empty accessible name" is now available. (#1728)
@siteimprove/alfa-cache: A Cache.memoize
decorator is now available. (#1720)
@siteimprove/alfa-dom: An Attribute.Autocomplete
namespace is now available, grouping functionalities around the autocomplete
attribute. (#1724)
@siteimprove/alfa-rules, @siteimprove/alfa-aria: Expose allowedAttributes
on ARIA Element type. (#1721)
@siteimprove/alfa-aria: <summary>
elements that are not summary for their parent details are now correctly treated as generic
role. (#1728)
@siteimprove/alfa-aria: <details>
elements now correctly have an implicit role of group
. (#1728)
@siteimprove/alfa-device: Values of undefined user preferences are now correctly set to their default. (#1725)
@siteimprove/alfa-aria: <summary>
elements that are summary for their parent details now correctly have their name computed from content. (#1728)
@siteimprove/alfa-css-feature: Matching of user-preferences in the boolean context now correctly handles none
defaults. (#1725)
Changelog
0.95.0 (2024-11-28)
alfa-test
package is now called alfa-test-deprecated
and a new alfa-test
package was added. (#1692)Changelog
0.94.1 (2024-11-22)
Changelog
0.94.0 (2024-11-19)
#serializationId
has been replaced with #internalId
. (#1705)@siteimprove/alfa-css, @siteimprove/alfa-style: CSS property will-change
is now supported. (#1707)
@siteimprove/alfa-refinement: Refinement.tee
is now available. (#1709)
@siteimprove/alfa-dom: A Query.descendants
helper is now available, to filter DOM descendants by a predicate. (#1709)
@siteimprove/alfa-style: A Style.innerText
helper is now available. (#1712)
@siteimprove/alfa-string: A String.and
combinator for chaining transformers is now available. (#1712)
@siteimprove/alfa-string: A String.removePunctuation
transformer is now available. (#1712)
@siteimprove/alfa-rules: classes for ARIA and Best Practices requirements are now available. (#1714)
@siteimprove/alfa-string: The function String.toLowerCase
was added. (#1707)
@siteimprove/alfa-rules: Rules checking ARIA conformance, or Best Practices, now have a corresponding requirement. (#1714)
@siteimprove/alfa-rules: An experimental rule "SIA-R114: Title is descriptive" is now available. (#1713)
@siteimprove/alfa-string: A String.hasSoftWrapOpportunity
predicate is now available. (#1710)
@siteimprove/alfa-style, @siteimprove/alfa-css: CSS property perspective
is now supported. (#1708)
@siteimprove/alfa-string: A String.Transformer
type alias is now available. (#1712)
Changelog
0.93.7 (2024-10-22)
Performance.now()
does not try to use node:perf_hooks
anymore. (#1704)Changelog
0.93.2 (2024-10-11)
@siteimprove/alfa-rules: SIA-R66 and SIA-R69 ar now inapplicable to text in aria-disabled
<a>
elements without href
. (#1698)
@siteimprove/alfa-rules: SIA-R83 is better at detecting clipping elements that actually have room to grow. (#1699)
@siteimprove/alfa-rules: SIA-R83 now correctly considers the used value of overflow
rather than the computed one. (#1699)
@siteimprove/alfa-cascade: The User-Agent style shet now sets <select>
elements to display: inline-block
, matching rendering recommendations. (#1699)
@siteimprove/alfa-style: Resolution of chained CSS variables has been improved. (#1697)
Changelog
0.93.1 (2024-10-07)
<select>
are again correctly considered as visible. (#1696)Changelog
0.93.0 (2024-10-03)
@siteimprove/alfa-dom: Element.hasDisplaySize()
now builds a Predicate<Element<"select">>
instead of a Predicate<Element>
. (#1683)
@siteimprove/alfa-dom: The helper Element.inputType(element)
has been replaced by a method element.inputType()
. (#1683)
@siteimprove/alfa-style, @siteimprove/alfa-css: Support for CSS properties scale
and translate
was added. (#1688)
@siteimprove/alfa-parser: A Parser.doubleBar
combinator is now available, to parse CSS "double bar". (#1691)
@siteimprove/alfa-style: A Style.hasUsedStyle
predicate builder is now available. (#1694)
@siteimprove/alfa-style: Style properties container-type
, mix-blend-mode
and isolation
are now supported. (#1675)
@siteimprove/alfa-style, @siteimprove/alfa-css: Style property contain
is now supported. (#1679)
@siteimprove/alfa-css: A Keyword#is
predicate is now available. (#1694)
@siteimprove/alfa-option: An Option.conditional
builder is now available, returning None
if the predicate is false. (#1694)
@siteimprove/alfa-dom: A method Element<"select">#displaySize()
is now available. (#1683)
@siteimprove/alfa-selector: The :checked
pseudo-class is now supported. (#1684)
@siteimprove/alfa-rules: Experimental rule SIA-ER8. It adds support for type="password"
and more. (#1667)
@siteimprove/alfa-style: Style
objects now have an optional owner
pointing to the element whose style it is. (#1694)
@siteimprove/alfa-dom: An Element<"select">#optionsList()
helper is now available. (#1683)
@siteimprove/alfa-style: Basic support for used values is now available. (#1689)
@siteimprove/alfa-css: Transform functions scale3d()
and scaleZ()
have been added and the scale transformation functions now accept percentages. (#1688)
@siteimprove/alfa-string: A String.hasWhitespace
predicate is now available. (#1694)
@siteimprove/alfa-rules: SIA-R83 is now better at handling white-space
and text-overflow
. (#1694)
@siteimprove/alfa-style: flex-wrap
now has a used value of None
on elements that are not flex containers. (#1694)
@siteimprove/alfa-style: <option>
elements that are hidden by their <select>
are now correctly considered as invisible. (#1683)
@siteimprove/alfa-style: overflow
and text-overflow
now have no used value on elements where they don't apply. (#1689)
@siteimprove/alfa-style: The computed value of display
for <button>
elements now correctly handles button layout. (#1694)