Flag as text
aria-hidden span
Flag from CSS
Generated content
Turn on VoiceOver and move to each select. In Safari and Chrome both show the same flag. Safari reads the flag only when the text-flag select is closed.
Flag as text
Flag from CSS
Turn on VoiceOver and move to each select. In Safari and Chrome both show the same flag. Safari reads the flag only when the text-flag select is closed.