Is there an existing issue for this?
How do you use Sentry?
Sentry Saas (sentry.io)
Which SDK are you using?
@sentry/react
SDK Version
9.10.1
Framework Version
18.3.1
Link to Sentry event
No response
Reproduction Example/SDK Setup
No response
Steps to Reproduce
User dead-clicked a link containing a non-text element, annotated by an aria-label.
Expected Result
aria-label contains text content the same way any other text node does, so it seems logical to me that it should be scrubbed the same way.
Actual Result
PII risks to be exposed, e.g. in Breadcrumbs view in a replay:

Is there an existing issue for this?
How do you use Sentry?
Sentry Saas (sentry.io)
Which SDK are you using?
@sentry/react
SDK Version
9.10.1
Framework Version
18.3.1
Link to Sentry event
No response
Reproduction Example/SDK Setup
No response
Steps to Reproduce
User dead-clicked a link containing a non-text element, annotated by an
aria-label.Expected Result
aria-labelcontains text content the same way any other text node does, so it seems logical to me that it should be scrubbed the same way.Actual Result
PII risks to be exposed, e.g. in Breadcrumbs view in a replay: