govau/design-system-components

au body target

Opened this issue · 2 comments

this bit of CSS causes unusual behaviour.

[tabindex="0"]:focus,
:target {
@include AU-outline();
}

For example in the skip link component when an item is focused on, it remains focused.

To recreate

  1. See the live example
  2. Press tab and click one of the skip link items
  3. Press tab again to focus on another element.
  4. The skip link anchor remains in focus

image

@gordongrace could you please mention why this was closed? Or if there was a PR that fixed this issue, could you please reference the number.

"Close" issue button is far too close to the "close popover" function when viewing issue in GitHub Projects ;)