@@ -49,7 +49,9 @@ const ui = {
4949 shareInstagram : getEl ( "#share-instagram-btn" ) ,
5050 shareX : getEl ( "#share-x-link" ) ,
5151 shareCopy : getEl ( "#share-copy-btn" ) ,
52+ shareDock : getEl ( "#share-dock" ) ,
5253 stage : getEl ( "#stage" ) ,
54+ audioControls : getEl ( "#audio-controls" ) ,
5355 expandedFace : document . querySelector ( ".stamp-expanded" ) ,
5456 miniStamp : getEl ( "#mini-stamp" ) ,
5557 miniExpand : getEl ( "#mini-expand-btn" ) ,
@@ -182,6 +184,9 @@ function renderStaticCopy() {
182184
183185 document . documentElement . lang = state . locale ;
184186 document . title = text . documentTitle ;
187+ ui . stage . setAttribute ( "aria-label" , text . siteLabel ) ;
188+ ui . shareDock . setAttribute ( "aria-label" , text . shareDock ) ;
189+ ui . audioControls . setAttribute ( "aria-label" , text . audioControls ) ;
185190 ui . volumeMark . textContent = text . volume ;
186191 ui . miniVolumeMark . textContent = text . volume ;
187192 ui . backdropNote . querySelector ( ".backdrop-note-kicker" ) . textContent = text . fieldNote ;
@@ -425,10 +430,6 @@ function setBackdropImage(src, title) {
425430 }
426431}
427432
428- function descriptionForStop ( stop ) {
429- return displayStop ( stop ) . fieldNote || displayStop ( stop ) . description ;
430- }
431-
432433function currentStop ( ) {
433434 return state . stops [ state . index ] || null ;
434435}
0 commit comments