diff --git a/demo.html b/demo.html
index 80811d5..0cab84b 100644
--- a/demo.html
+++ b/demo.html
@@ -1,4 +1,5 @@
+
Demo for <std-switch>
@@ -46,7 +47,7 @@ Requirements
$('#focus-visible-support').textContent = '\u2705';
} catch (e) {}
-
+
<std-switch>
@@ -104,3 +105,4 @@
<std-switch>
document.addEventListener('change', logEvent);
document.querySelector('#platform-message').innerHTML = `navigator.platform: ${navigator.platform}`;
+
diff --git a/src/switch.mjs b/src/switch.mjs
index 52fbdbf..141e391 100644
--- a/src/switch.mjs
+++ b/src/switch.mjs
@@ -503,8 +503,8 @@ export class StdSwitchElement extends HTMLElement {
if (!this.hasAttribute('tabindex'))
this.setAttribute('tabindex', '0');
- if (!this.hasAttribute('aria-role'))
- this.setAttribute('aria-role', 'switch');
+ if (!this.hasAttribute('role'))
+ this.setAttribute('role', 'switch');
this.setAttribute('aria-checked', this.on ? 'true' : 'false');
}