Re: [w3ctag/design-reviews] HTMLSelectElement showPicker() (Issue #900)

Hi @lukewarlow. Thank you for your patience.

We feel that consistency is the top priority here: if `select.showPicker()` and `input.showPicker()` do not behave consistently, this could create worse accessibility issues, not to mention DX. 

We note there's ongoing discussion in whatwg/html#9757 as to if the control, or picker, should be focused by default, which perhaps indicates that the behavior of `input.showPicker()` can still be changed?

It's important to have a clear idea of the expected use cases. Are there any use cases that *require* the control/picker to not be focused?

How easy the default behavior is to escape is also a factor. If the picker is focused by default, can authors get the alternate behavior by running `input.blur()`? If the picker is *not* followed by default, can authors get the other behavior by running `input.focus()`?

We suggest that you talk with the Accessible Platform Architectures (APA) WG to arrive at some guidance for authors that could be incorporated into the spec as a note.

Looking forward to your response, especially around use cases.

-- 
Reply to this email directly or view it on GitHub:
https://github.com/w3ctag/design-reviews/issues/900#issuecomment-1889327793
You are receiving this because you are subscribed to this thread.

Message ID: <w3ctag/design-reviews/issues/900/1889327793@github.com>

Received on Friday, 12 January 2024 14:18:04 UTC