- From: Ryosuke Niwa <notifications@github.com>
- Date: Sat, 18 Feb 2017 16:40:15 -0800
- To: w3c/webcomponents <webcomponents@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
Received on Sunday, 19 February 2017 00:41:11 UTC
Adding the ability to specify the default role of a custom element seems like a sensible feature to have. Having to build your own accessibility tree just when simply setting the role would do the work is not a great developer ergonomics. But we should probably start from the baby steps and just add `defaultRole` property to the list of options to `customElements.define`. That'll solve the majority of simple use cases. -- You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub: https://github.com/w3c/webcomponents/issues/567#issuecomment-280886128
Received on Sunday, 19 February 2017 00:41:11 UTC