You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Details of a few styling issues I've noticed whilst working with the header component (https://design.homeoffice.gov.uk/components?name=Header). I am grouping them because they are mostly very minor (happy to split them up if more helpful).
Navigation tabs move around when the active tab changes, due to the bold styling. This is visually distracting but also means that there is the possibility of the layout shifting on navigation, due to the maximum width being hit, and a tab reflowing to the next line. Suggested fix: remove the bold styling on active.
The black underline which highlights when a tab is the current active tab, and shows on hover/focus states, is not a clickable part of the nav link. This can cause users to click on what they think is the tab, but their click will not initiate the expected change in navigation. Suggested fix: Move the active styling's border bottom from the list tag and on to the anchor tag.
Account and sign out links (continued within the hods-header__account-menu element) are not right-aligned. This makes the header appear not centred and makes the account menu items hug closer to the service name. Suggested fix: remove the margin-right: auto; from this element.
The header isn't very responsive, resulting in there being insufficient space between the service name and account menu items, which are both clickable and so would benefit from having space around them, to reduce erroneously selecting the wrong option. Spacing would also help readability. Suggested quick fix: Add some margin around the service name.
FYI for anyone who picks this up, other issues related to the header:
Details of a few styling issues I've noticed whilst working with the header component (https://design.homeoffice.gov.uk/components?name=Header). I am grouping them because they are mostly very minor (happy to split them up if more helpful).
Navigation tabs move around when the active tab changes, due to the bold styling. This is visually distracting but also means that there is the possibility of the layout shifting on navigation, due to the maximum width being hit, and a tab reflowing to the next line.
Suggested fix: remove the bold styling on active.
The black underline which highlights when a tab is the current active tab, and shows on hover/focus states, is not a clickable part of the nav link. This can cause users to click on what they think is the tab, but their click will not initiate the expected change in navigation.
Suggested fix: Move the active styling's border bottom from the list tag and on to the anchor tag.
Account and sign out links (continued within the
hods-header__account-menu
element) are not right-aligned. This makes the header appear not centred and makes the account menu items hug closer to the service name.Suggested fix: remove the
margin-right: auto;
from this element.The header isn't very responsive, resulting in there being insufficient space between the service name and account menu items, which are both clickable and so would benefit from having space around them, to reduce erroneously selecting the wrong option. Spacing would also help readability.
Suggested quick fix: Add some margin around the service name.
FYI for anyone who picks this up, other issues related to the header:
The text was updated successfully, but these errors were encountered: