This is a simple test in Safari to illustrate a bug where focusable elements inside a container with an opacity attribute set lose the decorative border highlight when the user puts focus on them with the tab key. Note that by default, Safari will not make links a target of the tab key. This test assumes the user has changed this setting, or is using option-tab instead.
A workaround for this bug is to set CSS rules on descendents of the wrapping block that sets opacity so that anchors within that block receive some other treatment on focus (as shown in this example with the forceFocusBorder class). CSS source:
.forceFocusBorder > a:focus {
border: 1px solid blue;
color: green;
}
This is simply an example, the :before pseudo-classes are used as illustrative means to show where the block with opacity and forced field borders on focus start and end.
A sample field with no opacity
A sample field with a wrapping block that has opacity - will have no border on focus
A sample anchor with a wrapping block that has opacity - will have no border on focus I have no border on focus
A sample anchorwith a wrapping block that has opacity, and a forced thin border using the :focus pseudo-class. I have a fake border on focus