summaryrefslogtreecommitdiffstats
path: root/web_src/js/modules/aria/base.js
diff options
context:
space:
mode:
Diffstat (limited to 'web_src/js/modules/aria/base.js')
-rw-r--r--web_src/js/modules/aria/base.js5
1 files changed, 5 insertions, 0 deletions
diff --git a/web_src/js/modules/aria/base.js b/web_src/js/modules/aria/base.js
new file mode 100644
index 0000000000..c4a01038ba
--- /dev/null
+++ b/web_src/js/modules/aria/base.js
@@ -0,0 +1,5 @@
+let ariaIdCounter = 0;
+
+export function generateAriaId() {
+ return `_aria_auto_id_${ariaIdCounter++}`;
+}