Skip to content

v1.4.0

Choose a tag to compare

@ahosgood ahosgood released this 10 Sep 14:20
· 7 commits to main since this release
23399ce

Added

  • Add aria-label, classes, and attributes support to item buttons in tab components

Changed

  • "Copy code" button on code blocks has an improved aria-label and title if a filename is set

Fixed

  • Tab buttons will inherit font weight which fixes the issue with them not appearing bolder when the user has a preference for higher contrast
  • Fixed issue with closed tabs not opening the correct tab when the left or right arrow keys are pressed
  • Plain buttons (not <button> types) now have a visited state by default with the option to not have one by adding the class tna-button--no-visited-state
  • Analytics now start tracking once the cookie preferences have been changed (switched the old event changePolicy to the new changePreference)