This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.
"The addition of in line event handlers are for demonstration purposes only. The event handlers could be added by the lifecycle callbacks imperatively, or maybe even not used at all." As a lot of developers forget correct event handlers; I feel as if this note doesn't reflect the severity of the need for these event handlers. I suggest something like: "Developers **should** make sure event handlers are added for both keyboard and mouse users. The inline event handlers shown in this example are for demonstration purposes."
(In reply to Michiel Bijl from comment #0) > "The addition of in line event handlers are for demonstration purposes only. > The event handlers could be added by the lifecycle callbacks imperatively, > or maybe even not used at all." > > As a lot of developers forget correct event handlers; I feel as if this note > doesn't reflect the severity of the need for these event handlers. > > I suggest something like: > > "Developers **should** make sure event handlers are added for both keyboard > and mouse users. The inline event handlers shown in this example are for > demonstration purposes." I have edited the note: "The addition of in line event handlers are for demonstration purposes only. The event handlers could be added by the lifecycle callbacks imperatively, or maybe even not used at all. This example demonstrates one method for developers to ensure that a custom control is operable for keyboard users and meets the WCAG 2.0 criteria "All functionality of the content is operable through a keyboard interface"."
Moved to https://github.com/w3c/webcomponents/issues/171