V6.23.0 - October 14, 2022
New
Icons:
- Bank app
- Bank mobile
- Bank mobile landscape
Utilities:
Added new classes for flex align-self styles
.align-self-center
.align-self-start
.align-self-end
.align-self-baseline
.align-self-stretch
Updated
General Note
This release was specifically to update and remediate a number of accessibility issues
within our components. Whilst each component received its own specific treatment,
all components have also had the following updates to ensure consistency:
- Interactive elements now have focus state
- All components reflow to 320px
- Interactive elements now have a minimum of 44x44 pixels target size
Color
- Gray 04 hex code updated to
#8E9092 to have sufficient contrast of 3:1 with gray 01 and lighter
- Neutral hex code updated to
#8E9092 to have sufficient contrast of 3:1 with gray 01 and lighter
Accordions - Collapsible text link
- Change name to: Collapsible text
- Accessible label provided
- Updated button states:
- Default: Button size
- Hover: Button size and styling
- Active: Button size and styling
Accordions - Inline collapsible text link
- Changed name to: Inline collapsible text
- Introduce
text-link class styles for consistency with new anchor styling
- Removed second button
hide details button and changed text on existing button to:
- Open state:
Hide details. Collapsed state: Show details
- Updated button states:
- Default: Button size
- Hover: Button size and styling
- Active: Button size and styling
Alert:
- add link underlined class
- add new
.alert .glyph class to set spacing around dismissible icon
Badges
- Changed outlined badge size from 33px to 32px
- Neutral Status Badge color updated to new Gray 04
- Updated accessible name
- Accessible labelling for tooltip
Breadcrumbs
- Added new
breadcrumb-item class
- Updated link text to new link styling
- Tap Target height increased to 44px
- Links wrap on mobile view
Buttons
- Changed color from Gray 05 80% opacity (90% on hover) to 60% black (70% on hover)
- Increased size from 40x40px to 44x44px
- Button reflow to adjust to text
- Introduced
btn-utility-wrapper and btn-utility classes to allow for utility buttons to also benefit from contrast ratio updates and 44px tap target sizes.
- Introduced
.btn-overflow class that reduces font-size and allows for text to overflow inside of buttons.
Cards
- Link styling updated to new underline on default.
- Loader default color changed to Gray 04 to pass color contrast 3:1.
Carousel
- Pause/Play button added
- Added
balance-play class to correctly align pause/play button with dots in the center.
- Added
carousel-text-overlay class to replace image gradient and give content correct contrast.
- Background color updated to gray 01
- Dots are no longer interactive, only arrows control the carousel
- Tap Target height increased to 44px
- Added alt text to images
- Semantic headings provided
Checkbox
- Tap Target increase to 44x44px
- Color contrast increase ratio 3 to 1
- Border changed from gray 03 to gray 04
- Updated label
Data Table
- Unselected sort header icon changed to gray 04 to have sufficient contrast of 3:1 ratio with gray 01 background
- Accessible labelling added
- Unique IDs provided
- Fully accessible with keyboard navigation
- Increased size of targets to hit 44x44px target minimum.
- Adjust
.table class to require semantic HTML element in addition to class.
Date picker
- Increased size of targets to hit 44x44px target minimum.
- Updated date states to include symbols in addition to colors.
- Introduced expand/collapse state for calendar button.
- Date selected state is now conveyed
- Unique IDs provided
- Accessible labelling added
Date range picker
- Increased size of targets to hit 44x44px target minimum.
- Reduced display to only show single month at a time.
- Moved to using one input with input field mask, so that calendar can be used at 320px.
- Introduced new
.date-range-focus class to correctly handle focus states for both inputs
- Updated date states to include symbols in addition to colors.
- Background color update to gray 04 to have sufficient contrast of 3:1 ratio
Dialog Box
- Fully accessible with keyboard navigation
- Focus state added when dialog is opened & closed
- Heading update
File upload
- Updated link text to new link styling
Filter
- Increased size of targets to hit 44x44px target minimum.
- Filter status now announced with screen readers.
- Added missing roles and attributes.
- Accessible labelling added
Footer
- Manage toggle and heading functionality on resize
Hero Images
- Text meets 3:1 & 4.5:1 color contrast ratio.
- Text & image resize to meet small screen size of 320px.
- Semantic markup provided
- Update programmatic Labels
Header and footer
- Updated link text to new link styling
- Increased size of social media buttons to hit 44x44px target minimum
Highcharts
- Text alternative added for each graphic.
- Graphical object updated to Gray 04 to meet 3:1 color contrast with background
Inputs
- Color contrast of input border changed to gray 04 to have sufficient contrast of 3:1 ratio with gray 01 background or lighter
- Added success and error messages for success and error states.
Currency Input
- Accesible label provided for input field
Date Input
Password Input
- Provided instructions for show button
- Form Validation
Phone Input
- Updated error message.
- Group labels added
- Update programmatic Labels
Copy link Input
- Keep status messages present after successful copy
- Update Accessible labelling
Link - Inline
- Updated states:
- Default: Added underline
- Hover: Changed default color to 10% Darker (#0065BD)
- Pressed: Changed default color to 20% Darker (#005AA8)
Link - Standalone
- Increased target size to 44px
- Updated states:
- Default: Added underline
- Hover: Change default color to 10% Darker (#0065BD)
- Pressed: Change default color to 20% Darker (#005AA8)
- Focused: Changed size to match target size, 3px corner radius.
Link -Dark mode
- Updated states:
- Changed Focus to white, 3px radius
Map
- Tooltip -Close button
- Increased target size to 44x44px
- Color change from Gray 03 to Gray 05
Modal
- Increased close target size to 44x44px
- Keyboard navigation includes focus state
MultiSelect
- Increased checkbox target size to 44x44px
- Proper Accessible labelling
- Error message associated to MultiSelect on error
Multi Step Tracker
Simple updates:
- Update Line style - Height 2px, Dash 2px gap 4px. Update Gray to Gray 05.
- Update dot state.
- Introduce new text to Mobile: Dot number and total number of dots.
- Accessible labelling
Complex Updates:
- Update Line style - Height 2px, Dash 2px gap 4px. Update Gray to Gray 05.
- Update dot state.
- Introduce new Dot Sub states.
- Introduce new text to Mobile: Dot number and total number of dots.
- Introduce new
.multistep .step .progress-bar classes for progress bar state styles
- Introduce new
.multistep .step.active .dot-completed classes for completed dot states
- Introduce new
.multistep .step.current .dot-sub-step classes for current step dot states
- Introduce new
.multistep .step .dot-incomplete classes for incomplete dot states
Navigation
Primary
Secondary
- Updated text colors.
- Updated padding top and bottom to 11px.
- Increased target size to 44px
Tertiary
- Updated text colors.
- Updated padding top and bottom to 11px.
- Increased target size to 44px.
Notification
- Updated link text to new link styling
- Increased close target size to 44px.
- Added href to element
Overflow Menu
- Increased close target sizes to 44px.
- Updated focus size to 3px inside menu item.
- Accessible naming
Pagination
- Updated sizes of Page targets to 44x44px.
- Added 8px padding between each page.
- At 320px Break point:
- Removed padding between each page
- Reduced ‘…’ to 24px width
- Reduced padding between button and pages to 6px
- Removed background hover state from page links.
- Uses link state styling for pages in default state.
- Updated ‘previous’ and ‘Next’ button states.
- Update to semantic structure
Progress Indicator
Progress Bar
- Determinate progress bars now have a label element to show current value
- Added
.progress-label class to provide styles to label
Segmented Tracker:
- Added Label (4 of 12 Completed) below the tracker.
- Added
.linear-tracker-label class to provide styles to label
Continuous Tracker
- Left align the success text to maintain consistently.
- Load Patterns
Linear Determinate
- Adjust background color to Gray 02
- Added percentage label below the tracker
Linear Indeterminate
- Removed gray background
- Adjusted unfilled section of linear bar to be transparent
Circular Determinate
- Adjust background color to Gray 02.
Circular Indeterminate
- Active bar 1/4 was made transparent.
- Gray background 3/4 is now active (bright blue default and white for dark theme)
- Accessible naming
Radio Buttons
- Color contrast increase ratio 3 to 1
- Border changed from gray 03 to gray 04
- Fixed the horizontal layout and reduced the overall default width.
- Added visible label
- Increase Target Size to 44px
Search
Simple Results
- Increased target size and search result to 44px height
- Introduce new text link styling with class
.search-results-item-link
- Introduce new class
.no-results-msg for displaying no results message
- Added visible label
- Provided proper semantic markup
- Hidden submit button doesn’t receive focus
Search Advanced Results
- Introduce new text link styling with class
.search-results-item-link
Select
- Properly attribute error message on error
Stepper
Default Stepper
- Label associated with input.
Slide Stepper
- Plus and minus buttons have been updated to gray 04 to have sufficient contrast of 3:1 ratio
- Background color of incomplete changed to gray 04 to have sufficient contrast of 3:1 ratio
- Slider Knob now has 1px white border outside to create contrast between gray 04 and bright blue
- Slider buttons tap target increased to 44x44px
- Visible label added.
- Provided ARIA roles
- New class
.slider-button and .slider-button-styles added to provide correct button styles
- New class
.slider-handler and .slider-handler-styles added to provide correct handler styles
Tabs
- Unselected Hover: the bright blue text was not passing 4.5:1 ratio contrast with Gray 02. So the new color is #0065BD (v7-Bright Blue 510) as the new text hover style.
- Along with default and active tab component we added in hover component so tabs can be easily changed by designers.
- Mobile reflow was redesigned to be vertical tabs so the labels are fully visible. Organized the tabs to easily access desktop and mobile versions.
- Typo correction for aria-controls.
Tags
- Update to labels to better convey dismissing a tag
- Tap target increased to 44x44px.
- Introduced new
.tag-container and .close-tag classes with same syntax as before to introduce new styles
- Deprecated existing
.tag class
Tooltips
- ARIA tooltips have accessible name.
- Increased button tap target to meet 44x44px.
- Expand/Collapse state added.
- Accessible labels added.
- Tooltip content dismissible
- Introduced new class
tooltip-btn-circle for adding correct styling to Outline Badges
Toggle Switches
- Off state color updated to gray 04 to have sufficient contrast of 3:1 ratio with gray 01 background or lighter
- Fixed the horizontal layout, Right Align text and reduced the overall width
- Added Disabled state
- Introduced new
.toggle-switch class with same syntax as before to introduce new styles
Video
- Video control tap target size increased to 44x44px
- Added description text below video to allow those unable to watch to still engage with the content.
Deprecated
Card Number Input
Postal Code Input
Tags
- Deprecated existing
.tag class in preference of .tag-container and .close-tag classes.
Toggle Switches
- Deprecated existing
.switch class in preference of .toggle-switch class