Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/server.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'core/src/Util/a11y.js')
-rw-r--r--core/src/Util/a11y.js4
1 files changed, 3 insertions, 1 deletions
diff --git a/core/src/Util/a11y.js b/core/src/Util/a11y.js
index b1eedb3984f..550ae375e02 100644
--- a/core/src/Util/a11y.js
+++ b/core/src/Util/a11y.js
@@ -21,11 +21,13 @@
*/
/**
+ * Return whether the DOM event is an accessible mouse or keyboard element activation
+ *
* @param {Event} event DOM event
*
* @return {boolean}
*/
-export const isA11yClick = (event) => {
+export const isA11yActivation = (event) => {
if (event.type === 'click') {
return true
}