On Fri, Nov 20, 2026 at 10:13 AM 'Ravjit Uppal' via blink-dev < [email protected]> wrote:
> Hi Vlad and Dan, answering both of your concerns here in this reply. > > 1. *Signals* > We have updated both the signals. > > 2. > *Screen reader announcements *The default announcement is what the text > of the button would be in normal mode. (e.g. Use Microphone). With > aria-label the announcement changes to the aria-label. This issue exists in > the normal mode as well and we have a bug > <https://g-issues.chromium.org/issues/576585412> tracking it. > > I see. It sounds like the text should still be used, but this feature (icon-only mode) will not render it visually. I worry that if this is the case, then over time authors that use icon-only mode will put placeholder or even incorrect text since visually they wouldn't notice that. Is this a concern or do you think that treating this as an author error is sufficient? Thanks, Vlad > > 1. > 2. *CSS property vs Attribute* > Thanks for raising this! We'll add this as a *Considered Alternative* > in the explainer. We did explore CSS-based approaches such as exposing > *::permission-text > { display: none }* or adding a *dedicated CSS property. *We agree that > @media/@container responsiveness is the strongest argument for CSS. > Ultimately, we went with *displayhint="icon-only" *which we also > discussed in the W3C WebRTC WG with no objections for the following > reasons: > > > - > - *WG consensus, encapsulation & security:* As discussed in the W3C > WebRTC > WG (with no objections), displayhint is intentionally modeled as a > high-level > hint so UAs retain flexibility over their internal UI structure without > introducing a new CSSWG property scoped to only three elements. Keeping > the text span private inside the closed UA Shadow DOM rather than > exposing > ::permission-text just for display: none avoids expanding the CSS > anti-spoofing > allowlist surface and prevents dynamic CSS state-flipping (e.g., > :hover or animations) without DOM mutations, routing mode changes > cleanly > through stability cooldowns. > - *Coordinated widget defaults:* Icon-only mode updates multiple UA > defaults > together: hiding the text, zeroing ::permission-icon's inline-end margin > to center the icon, and changing default host padding from pill to > compact > at UA specificity so authors can still override it. Standard CSS cascade > cannot conditionally update host padding or sibling > ::permission-icon margins from ::permission-text's computed display (nor > can one CSS property alter another property's UA default without custom > cascade hacks). > - *Simpler maintainable code:* With an HTML attribute, icon-only state > is known upfront in the DOM before style resolution so UA styles, icon > clamping, and stability cooldowns all use a single stateless check. > Making > icon-only depend on ComputedStyle introduces tree-order style > dependencies > across the host, ::permission-icon, and ::permission-text, and requires > diffing computed state across every style recalc for clickjacking > cooldowns. > > Thanks, > Rav > > On Wednesday, November 18, 2026 at 7:02:46 PM UTC+1 [email protected] > wrote: > >> My understanding is that there is at least some constrained ability to >> style these elements through CSS ( >> https://developer.chrome.com/blog/geolocation-html-element#styling_constraints >> ). >> >> Have you looked at whether achieving the icon-only appearance through CSS >> might be a better fit, e.g. by exposing a pseudo-element for the element's >> text that could be set to display:none to leave only the icon? >> This approach would allow use with CSS media queries to more easily build >> responsive UI, like switching to the icon-only version when space is >> constrained. >> >> This is the kind of thing that'd be great to see as a Considered >> Alternative in the explainer. >> >> Thanks, >> Dan >> On Wednesday, November 18, 2026 at 8:22:28 AM UTC-8 [email protected] >> wrote: >> >>> Hey, >>> >>> There seems to be signals filed via >>> https://groups.google.com/a/chromium.org/g/blink-dev/c/Iaoq0CYadzo/m/NlncYTu1GwAJ, >>> can you amend those signals to mention this functionality as well? >>> >>> For accessibility, you mention that this provides "full screen reader >>> accessibility". Can you clarify what the default screen reader announcement >>> would be? Is this customizable via aria attributes? >>> >>> Thanks, >>> Vlad >>> >>> On Thursday, November 12, 2026 at 10:52:32 AM UTC-5 Chromestatus wrote: >>> >>>> *Contact emails* >>>> [email protected], [email protected] >>>> >>>> *Explainer* >>>> >>>> https://github.com/w3c/mediacapture-extensions/blob/main/media-capture-elements-explainer.md >>>> >>>> *Specification* >>>> https://github.com/w3c/mediacapture-extensions/pull/184 >>>> >>>> *Summary* >>>> Introduces a new attribute to render Capability Elements(<camera>, >>>> <microphone> and <geolocation>) as compact icon buttons without text using >>>> a `displayhint` attribute. This gives developers flexible UI density for >>>> spatial layouts such as map controls and video floating trays while >>>> preserving native security guarantees and full screen reader accessibility. >>>> This is an extension to the recently released Capability Elements >>>> https://chromestatus.com/feature/5153829504024576 >>>> >>>> *Blink component* >>>> UI>Browser>Permissions>Prompts >>>> <https://issues.chromium.org/issues?q=customfield1222907:%22UI%3EBrowser%3EPermissions%3EPrompts%22> >>>> >>>> *Web Feature ID* >>>> permissions <https://webstatus.dev/features/permissions> >>>> >>>> *Motivation* >>>> Capability elements currently default to a horizontal button layout >>>> containing an icon and mandatory localized text that cannot be removed or >>>> customized. However, modern web layouts such as interactive maps and video >>>> conferencing floating trays rely heavily on compact, icon-only UI patterns. >>>> Providing a declarative display mode allows developers to integrate >>>> capability elements seamlessly into space-constrained designs while fully >>>> preserving browser-mediated security guarantees. >>>> >>>> *Initial public proposal* >>>> *No information provided* >>>> >>>> *TAG review* >>>> https://github.com/w3ctag/design-reviews/issues/1218 >>>> >>>> *TAG review status* >>>> Issues addressed >>>> >>>> *Goals for experimentation* >>>> None >>>> >>>> *Risks* >>>> >>>> >>>> *Interoperability and Compatibility* >>>> *No information provided* >>>> >>>> *Gecko*: No signal >>>> >>>> *WebKit*: No signal >>>> >>>> *Web developers*: No signals >>>> >>>> *Other signals*: >>>> >>>> *WebView application risks* >>>> >>>> Does this intent deprecate or change behavior of existing APIs, such >>>> that it has potentially high risk for Android WebView-based applications? >>>> *No information provided* >>>> >>>> >>>> *Debuggability* >>>> *No information provided* >>>> >>>> *Will this feature be supported on all six Blink platforms (Windows, >>>> Mac, Linux, ChromeOS, Android, and Android WebView)?* >>>> No >>>> >>>> *Is this feature fully tested by web-platform-tests >>>> <https://chromium.googlesource.com/chromium/src/+/main/docs/testing/web_platform_tests.md>?* >>>> No >>>> >>>> >>>> *Flag name on about://flags* >>>> CapabilityElementIconOnlyMode >>>> >>>> *Finch feature name* >>>> CapabilityElementIconOnlyMode >>>> >>>> *Rollout plan* >>>> Will ship enabled for all users >>>> >>>> *Requires code in //chrome?* >>>> False >>>> >>>> *Tracking bug* >>>> https://g-issues.chromium.org/issues/583741580 >>>> >>>> *Launch bug* >>>> https://launch.corp.google.com/launch/4475538 >>>> >>>> *Availability expectation* >>>> Feature is available only in Chromium browsers. We are not aware of >>>> other browsers adoption. >>>> >>>> *Adoption expectation* >>>> The current partner users of Capability Elements are keen to use the >>>> icon-only mode within the next 6 months. >>>> >>>> *Adoption plan* >>>> The Spec for media capture elements will be update to include the >>>> addition of this new attribute. >>>> >>>> *Non-OSS dependencies* >>>> >>>> Does the feature depend on any code or APIs outside the Chromium open >>>> source repository and its open-source dependencies to function? >>>> No >>>> >>>> *Estimated milestones* >>>> Shipping on desktop 160 >>>> Shipping on Android 160 >>>> >>>> *Anticipated spec changes* >>>> >>>> Open questions about a feature may be a source of future web compat or >>>> interop issues. Please list open issues (e.g. links to known github issues >>>> in the project for the feature specification) whose resolution may >>>> introduce web compat/interop risk (e.g., changing to naming or structure of >>>> the API in a non-backward-compatible way). >>>> *No information provided* >>>> >>>> *Link to entry on the Chrome Platform Status* >>>> https://chromestatus.com/feature/5107682460696576?gate=6075922708037632 >>>> >>>> This intent message was generated by Chrome Platform Status >>>> <https://chromestatus.com>. >>>> >>> -- > You received this message because you are subscribed to the Google Groups > "blink-dev" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To view this discussion visit > https://groups.google.com/a/chromium.org/d/msgid/blink-dev/6b12b52c-075e-401d-b1fb-bdfdb5726a9dn%40chromium.org > <https://groups.google.com/a/chromium.org/d/msgid/blink-dev/6b12b52c-075e-401d-b1fb-bdfdb5726a9dn%40chromium.org?utm_medium=email&utm_source=footer> > . > -- You received this message because you are subscribed to the Google Groups "blink-dev" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion visit https://groups.google.com/a/chromium.org/d/msgid/blink-dev/CADsXd2OgVX1QPOwwaqosFm0ZOHtic139eQtE%2BJ8fhrOygaXoag%40mail.gmail.com.
