[WICG/webcomponents] Supporting `<noscript>` when FACE is in play (Issue #1004)

Say I have a set of FACEs

```html
<form>
  <label>B? <b-input mood="saucy"></b-input></label>
  <b-button type="yeet">Bounce!</b-button>
  <b-button>Submit</b-button>
</form>
```

Currently, I believe that supporting `<noscript>` essentially requires the page author to include some

```html
<noscript>
  <form>
    <label>B? <input></label>
    <button type="reset">Bounce!</button>
    <button>Submit</button>
  </form>
</noscript>
```

The DSD templates for the `b-*` elements *may or may not* contain their built-in counterparts, but for the sake of this discussion, they might as well be totally custom, with `contenteditable`, or whatever.

I'd like to be able to 'fall back' to native behaviour for a FACE, so that it could participate in a form even with JS turned off. I have no strong opinions about how to accomplish this, it could be a bucket of attrs on the DSD template, or some global atts on the host, or some other solution.

-- 
Reply to this email directly or view it on GitHub:
https://github.com/WICG/webcomponents/issues/1004
You are receiving this because you are subscribed to this thread.

Message ID: <WICG/webcomponents/issues/1004@github.com>

Received on Thursday, 20 April 2023 17:20:55 UTC