Improving the styling of the sub navigation component.
Before
Previously the sub navigation was styled like this:
Even though they look like tabs, they do not behave like tabs which could cause confusion.
True tabs change the content dynamically with JavaScript and have certain keyboard behaviours.
After
But our tabs are regular links that navigate to pages with a page refresh.
We agree with the GOV.UK Design System working group that potential confusion should be avoided and make regular sub navigation look different to tabs.
So we changed the styles of the sub navigation to avoid looking like tabs like this: