Problem Statement
We want to use the mobile version of the feedback widget's trigger button but are unable to do so directly. While setting buttonLabel to an empty string removes the text, it also eliminates the aria-label attribute, rendering the widget button inaccessible.
Solution Brainstorm
Introduce a new prop that allows the removal of text from the button while preserving the aria-label attribute. Alternatively, add a prop that lets users specify the aria-label separately from the buttonLabel.
Problem Statement
We want to use the mobile version of the feedback widget's trigger button but are unable to do so directly. While setting
buttonLabelto an empty string removes the text, it also eliminates thearia-labelattribute, rendering the widget button inaccessible.Solution Brainstorm
Introduce a new prop that allows the removal of text from the button while preserving the
aria-labelattribute. Alternatively, add a prop that lets users specify thearia-labelseparately from thebuttonLabel.