Skip to content

Conversation

HazAT
Copy link
Member

@HazAT HazAT commented Jan 27, 2023

Fixes #3056

@github-actions
Copy link
Contributor

github-actions bot commented Jan 27, 2023

size-limit report 📦

Path Size
@sentry/browser - ES5 CDN Bundle (gzipped + minified) 19.84 KB (+0.05% 🔺)
@sentry/browser - ES5 CDN Bundle (minified) 61.5 KB (+0.03% 🔺)
@sentry/browser - ES6 CDN Bundle (gzipped + minified) 18.51 KB (+0.06% 🔺)
@sentry/browser - ES6 CDN Bundle (minified) 54.8 KB (+0.03% 🔺)
@sentry/browser - Webpack (gzipped + minified) 20.23 KB (+0.04% 🔺)
@sentry/browser - Webpack (minified) 66.2 KB (+0.02% 🔺)
@sentry/react - Webpack (gzipped + minified) 20.26 KB (+0.05% 🔺)
@sentry/nextjs Client - Webpack (gzipped + minified) 47.55 KB (+0.03% 🔺)
@sentry/browser + @sentry/tracing - ES5 CDN Bundle (gzipped + minified) 26.77 KB (+0.04% 🔺)
@sentry/browser + @sentry/tracing - ES6 CDN Bundle (gzipped + minified) 25.05 KB (+0.06% 🔺)
@sentry/replay ES6 CDN Bundle (gzipped + minified) 43.69 KB (+0.03% 🔺)
@sentry/replay - Webpack (gzipped + minified) 38.46 KB (0%)
@sentry/browser + @sentry/tracing + @sentry/replay - ES6 CDN Bundle (gzipped + minified) 61.02 KB (+0.02% 🔺)

@@ -108,7 +108,7 @@ function _htmlElementAsString(el: unknown, keyAttrs?: string[]): string {
}
}
}
const allowedAttrs = ['type', 'name', 'title', 'alt'];
const allowedAttrs = ['aria-label', 'aria-labelledby', 'type', 'name', 'title', 'alt'];
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think aria-labelledby refers to a different dom element, so would not be too helpful here? as that would be the ID of the element that has the label.

@HazAT
Copy link
Member Author

HazAT commented Jan 30, 2023

@mydea removed labelledby for now

@HazAT HazAT merged commit b1419fa into master Jan 30, 2023
@HazAT HazAT deleted the feat/aria-label-breadcrumbs branch January 30, 2023 08:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

DOM Breadcrumbs: Capture aria-label as an attribute
3 participants