Releases: nationalarchives/tna-frontend
Releases · nationalarchives/tna-frontend
v0.15.1
v0.15.0
v0.14.0
Added
- Added a
<a id="top"></a>
element to the top of thebodyStart
block to allow for jumping to the top of the page - Allow the heading of a secondary navigation to be visually hidden with
visuallyHideHeading
- Added some colours as "base" CSS colours that are always available with the prefix
--base-
- Footer links can be marked as "external" which adds
rel="noreferrer nofollow noopener"
Changed
- Abstracted visually hidden CSS to a11y tools
- Increased contrast of light icons for improved accessibility
- The fullscreen button in gallery components is hidden on smaller devices in an attempt to avoid reflow issues
Fixed
- Small border radius issues fixed with tabs and picture components
- Improved button aria labels in gallery components
- Added more descriptive
aria-label
text and addedrel="noreferrer nofollow noopener"
to the subscribe button in the footer
v0.13.2
v0.13.1
v0.13.0
Added
- Option to set underline offset for links
- Customisable border radius added to many components and utilities
- Plain card option to add border to a card without adding a background colour
- Options for full-width and centred button groups
Changed
- Updated phase banner markup with extra visually hidden text
- Removed TikTok from default options in the footer
- Standard link underline offset increased slightly to improve readability
Fixed
- Fixed invalid
max-width
property ontna-container--no-padding
class
v0.12.0
Added
- Added
labelText
option to breadcrumbs to enable customaria-label
attributes - Phase banners can be added at the top of the header and global header components
Changed
- Limited the maximum height of the information dropdown in picture components
Removed
- Remove
accent
option of the phase banner component
Fixed
- Clicking on a gallery item doesn't break keyboard navigation for the gallery
- Current gallery items are not announced twice for screen readers
v0.11.3
Changed
- When re-displaying the cookie banner, delete the preferences saved cookie rather than setting it to
false
(better compatibility with ds-cookie-consent)