当按下按钮或 link 时,屏幕 reader 使用什么浏览器事件?

What browser event does a screen reader use when pressing a button or link?

我还没有设置屏幕 reader 来测试自己,但我想知道屏幕 reader 在单击按钮或 [=16= 时使用什么特定的浏览器事件]?

这是否等同于单击鼠标或按 Tab 键选择元素并按回车键或 space?

屏幕阅读器将触发 click() 事件,但屏幕阅读器用户仍可使用键盘、鼠标、触控板或盲文显示器。

SCR35: Making actions keyboard accessible by using the onclick event of anchors and buttons

While "onclick" sounds like it is tied to the mouse, the onclick event is actually mapped to the default action of a link or button. The default action occurs when the user clicks the element with a mouse, but it also occurs when the user focuses the element and hits enter or space, and when the element is triggered via the accessibility API.