Native keyboard support based on roles

Hello,

 

When a custom control is created, would it be possible for a browser to
provide the expected keyboard support based on the presence of an explicit
role? For example a custom control with role="button" would automatically be
given the same interaction support as a native <button>.

 

If this were possible it could be beneficial to authors (who would not then
need to provide additional scripted behaviour), and beneficial to
accessibility because it would encourage authors to apply the correct
semantics to the control.

 

Léonie.

 

 

-- 

Senior Accessibility Engineer, TPG

@LeonieWatson @PacielloGroup

 

Received on Monday, 15 December 2014 12:27:39 UTC