Releases: Q42/floating-focus-a11y
Releases · Q42/floating-focus-a11y
Improvements floater outline styling
Fix TS declaration of /dist/unstyled
Required actions
Update @q42/floating-focus-a11y to 1.3.2
Changes
The /dist/unstyled
directory now works well with typescript when importing from it.
Include index.d.ts in NPM publish
Required actions
Update @q42/floating-focus-a11y to 1.3.1
Changes
index.d.ts
was not included in release 1.3.0 => this patch fixes that file not being included.
Unstyled import option, and various fixes
Package clean-up and maintenance
Required actions
Update @q42/floating-focus-a11y
to 1.2.5
Changes
- Clean-up NPM package files
- Allows setting negative
outline-offset
Allow negative outline offsets
Required actions
Update @q42/floating-focus-a11y
to 1.2.4
Changes
- Allows setting negative
outline-offset
Type definitions and Internet Explorer fixes
Required actions
Update @q42/floating-focus-a11y
to 1.2.2
Changes
- Added type definition file for easier Typescript implementation
- Bugfixes for better Internet Explorer 11 support
Documentation update
Required actions
Update @q42/floating-focus-a11y
to 1.1.1
Changes
- Updating documentation on NPM to give more clear example module usage
Container element support
Required actions
Update @q42/floating-focus-a11y
to 1.1.0
Changes
- Added parameter to support a container element. (#1)
Initial Release
This is the initial release for floating focus tool. This tool has a couple of advantages compared to implementing custom CSS focus states:
- Simple to implement focus states on all elements
- Focus states automatically only show when using keyboard navigation
- States hide when going back to using mouse for navigation
- Border-radius is supported and used for outline highlighting
- Initial focus states show a background to further increase contrast of the current highlighted element
- Uses computed styling to determine the color that should be used for the overlay
- Focus states float from one element to the next, making it easier to follow the flow of the webpage
- Very easy to only change overlay color based on default CSS properties that you already know