Skip to content

1.4.0 - The SVG Awakens

Compare
Choose a tag to compare
@rodneyrehm rodneyrehm released this 12 Jan 22:04
· 5 commits to master since this release
80a082c

January 12th 2017. We're continuing our journey to make accessibility simpler (by advancing our understanding of the "platform"). Version 1.4.0 comes 4 months after the last feature release. We pushed about 50 commits in an effort to understand focus behavior in SVG, update the build systems and upgrade automated testing to modern browser versions.

The highlights of v1.4.0

  • Improving utilities for convenient and safe .focus(), .blur() to properly support SVG content
  • Improving identification of focusable status of SVG content
  • Upgrading babel from version 5.x to 6.x, by providing AMD modules via UMD bundles
  • Upgrading to eslint from version 2.x to 3.x, switching to (slightly customized) eslint-config-semistandard

The numbers of v1.4.0

  • Test coverage remained at ~99%
  • The library grew from ~22KB to ~23KB gzipped (~73KB to ~76KB minified)

The changes of v1.4.0

The following lists show the changes to the library grouped by domain.

Focus management in v1.4.0

Various in v1.4.0

Internals in v1.4.0

  • refactoring supports to pass focused element to validation callback
  • refactoring supports to properly test support of SVG elements in Trident
  • refactoring ally.style.focusSource and ally.style.focusWithin to optimize focusin or focus event name detection
  • fixing various linting errors after upgrading to eslint 3 and semistandard

Build in v1.4.0

Documentation in v1.4.0

Testing of v1.4.0

  • Internet Explorer 9, 10, 11
  • Edge 13, 14 (15 manually)
  • Safari 8, 9, 10 (6.2 and 7.1 were dropped from automated tests)
  • Chrome 55
  • Firefox 50, 50 with ShadowDOM enabled

Missing in v1.4.0

  • MathML elements may be focusable
  • Shadow DOM focus behavior may have changed from v0 to v1