diff --git a/paper-audio-player.html b/paper-audio-player.html
index d4bb3ac..9d982d4 100755
--- a/paper-audio-player.html
+++ b/paper-audio-player.html
@@ -216,14 +216,26 @@
on-tap="playPause">
-
-
+
+
-
{{ title }}
+
{{ title }}
@@ -235,7 +247,7 @@
-
{{ title }}
+
{{ title }}
@@ -245,11 +257,16 @@
- {{ _convertSecToMin(timeLeft) }}
+ {{ _convertSecToMin(timeLeft) }}
-
+
@@ -265,7 +282,11 @@
//
// Define component default attributes
hostAttributes: {
- tabindex: 0
+ tabindex: 0,
+ role: 'application',
+ //'aria-activedescendant': 'play',
+ 'aria-label': 'Audio Player',
+ 'aria-describedby': 'title'
},
//
@@ -490,6 +511,7 @@
player.classList.add('cantplay');
player.title = 'Sorry, can\'t play track: ' + player.title;
player.error = true;
+ player.setAttribute('aria-invalid', 'true');
},