diff options
author | Christopher Ng <chrng8@gmail.com> | 2022-06-08 23:55:51 +0000 |
---|---|---|
committer | Christopher Ng <chrng8@gmail.com> | 2022-06-09 00:25:13 +0000 |
commit | 0ea95c3ff603d439ed7129a775d539cc96840a2c (patch) | |
tree | 41fcaa0311e8aac5708ab2ca9a5f4da9465e4a92 /core/src/Util | |
parent | 343eab4c969ebb6a2540e6a1ca5442d370bf6d39 (diff) | |
download | nextcloud-server-0ea95c3ff603d439ed7129a775d539cc96840a2c.tar.gz nextcloud-server-0ea95c3ff603d439ed7129a775d539cc96840a2c.zip |
Rename a11y helper function
Signed-off-by: Christopher Ng <chrng8@gmail.com>
Diffstat (limited to 'core/src/Util')
-rw-r--r-- | core/src/Util/a11y.js | 4 |
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 } |