w3ctag / design-reviews

W3C specs and API reviews
Creative Commons Zero v1.0 Universal
318 stars 55 forks source link

New attribute to control UA-provided writing assistance #924

Closed sanketj closed 5 months ago

sanketj commented 6 months ago

こんにちは TAG-さん!

I'm requesting a TAG review of a new attribute named writingsuggestions (final name TBD) to control UA-provided writing assistance.

UAs are starting to provide writing suggestions to users as they type on various editable fields across the web (see the use case section below). While this is generally useful for users, there are cases when developers may want to turn off UA-provided writing assistance, such as extensions or sites that wish to provide similar functionality on their own.

We propose the addition of a new attribute called writingsuggestions with values on/off that would allow developers to turn on/off browser-provided writing suggestions. This attribute will have a default state per element, as established by the UA. The attribute's state for an element can also be inherited from ancestor elements, thereby allowing developers to control this functionality at a per-element or per-document/sub-document scale.

Further details:

We'd prefer the TAG provide feedback as (please delete all but the desired option):

💬 leave review feedback as a comment in this issue and @-notify sanketj

hober commented 5 months ago

Hi @sanketj!

@matatk, @rhiaro, and I took a look at this during a breakout at the TAG F2F today, and we're overall supportive of where you've ended up with the proposal. Have you run this by the i18n folk? We suspect they'll have relevant thoughts.

Thanks for bringing this to us. Please don't hesitate to ask us to take another look should things substantively change.

Incidentally, we asked Google Bard to draft a supportive closing comment for us and here's what it came up with:

Strong support for writingsuggestions! Granular control & user/developer focus are excellent. Looking forward to implementation! @sanketj

sanketj commented 4 months ago

Hi @sanketj!

@matatk, @rhiaro, and I took a look at this during a breakout at the TAG F2F today, and we're overall supportive of where you've ended up with the proposal. Have you run this by the i18n folk? We suspect they'll have relevant thoughts.

Thanks for bringing this to us. Please don't hesitate to ask us to take another look should things substantively change.

Incidentally, we asked Google Bard to draft a supportive closing comment for us and here's what it came up with:

Strong support for writingsuggestions! Granular control & user/developer focus are excellent. Looking forward to implementation! @sanketj

Thanks @hober!

RE i18n: Were there any specific aspects you were concerned about?