Skip to content

Can we pair help text with a button? #2202

Answered by gloriliale
rosemaryluo asked this question in Q&A
Discussion options

You must be logged in to vote

Hi @rosemaryluo! That's correct, this isn't something we have a pattern for since it's not as common a use case. We'd recommend putting the text above the button, so the information is read in order to a screen reader, for example. It'd be especially significant if the info is important to know before the user clicks on the button. You'd also want to use aria-describedby on the button, pointing it to the HelpText.

I also wanted to ask, what's the downside you're considering for not using default-style text in paragraphs above the button?

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@rosemaryluo
Comment options

@TheSisb
Comment options

@rosemaryluo
Comment options

Answer selected by TheSisb
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants