This is a follow-up to #1864. Anchor's underline prop will default to true when used inside a Text. The implementation is done using a simple React context.
This change improves the accessibility, by adding an additional cue to differentiate links from surrounding text. See Use of Color.
Testing
Added unit test + tested manually.
Docs
Added changeset + updated existing docs on underline to mention new behavior.
Changes
This is a follow-up to #1864.
Anchor
'sunderline
prop will default totrue
when used inside aText
. The implementation is done using a simple React context.This change improves the accessibility, by adding an additional cue to differentiate links from surrounding text. See Use of Color.
Testing
Added unit test + tested manually.
Docs
Added changeset + updated existing docs on
underline
to mention new behavior.