sentry-javascript icon indicating copy to clipboard operation
sentry-javascript copied to clipboard

[User Feedback] Add Option to Choose Mobile Version of the Trigger Button

Open dominon12 opened this issue 1 year ago • 0 comments

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.

dominon12 avatar Jun 17 '24 09:06 dominon12