Skip to content
This repository has been archived by the owner on Jun 25, 2019. It is now read-only.

TODO: create a very simple component/registration system? #15

Open
bkardell opened this issue Jul 6, 2015 · 4 comments
Open

TODO: create a very simple component/registration system? #15

bkardell opened this issue Jul 6, 2015 · 4 comments

Comments

@bkardell
Copy link
Contributor

bkardell commented Jul 6, 2015

This gets to the design of the thing we are proposing and how to attack it, but it seems like a system in which you can register a way to determine if it is in a particular modality would allow a single registration/processing point and separate the problem nicely - then keyboard modality would be just the only one we're proposing/have implemented for now - would become easier to evaluate others?

@robdodson
Copy link
Contributor

Can you provide a pseudo code example of what this API would look like? I'm not sure I really grok the purpose.

@bkardell
Copy link
Contributor Author

bkardell commented Mar 8, 2017

The proposal that actually got to the CSSWG punted this to phase two, but the polyfill allows you to add [supports-modality=keyboard] to suggest that this be treated as an element for which the primary modality is 'keyboardy' like inputs rather than not like buttons.

@robdodson
Copy link
Contributor

phase two of custom elements?

@bkardell
Copy link
Contributor Author

bkardell commented Mar 8, 2017

Non specific, just "later" as it would modify the one almost impl from Mozilla that allows it to slip in to l4

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants