Commit 691adc9 1 parent c0aef87 commit 691adc9 Copy full SHA for 691adc9
File tree 1 file changed +12
-2
lines changed
1 file changed +12
-2
lines changed Original file line number Diff line number Diff line change @@ -496,9 +496,19 @@ <h2>{{ sponsor_level.level }}</h2>
496
496
calendarNodeInner = parser . parseFromString ( ouicalData [ name ] , "text/html" ) ;
497
497
calendarNodeSpan = document . createElement ( "span" ) ;
498
498
calendarNodeSpan . setAttribute ( "style" , "padding: 2px" ) ;
499
- calendarNodeSpan . appendChild ( document . createTextNode ( "[" ) ) ;
499
+
500
+ const openBracket = document . createElement ( "span" ) ;
501
+ openBracket . setAttribute ( "aria-hidden" , "true" ) ;
502
+ openBracket . innerHTML = "[" ;
503
+ calendarNodeSpan . appendChild ( openBracket ) ;
504
+
500
505
calendarNodeSpan . appendChild ( calendarNodeInner . getElementsByTagName ( "a" ) [ 0 ] ) ;
501
- calendarNodeSpan . appendChild ( document . createTextNode ( "]" ) ) ;
506
+
507
+ const closeBracket = document . createElement ( "span" ) ;
508
+ closeBracket . setAttribute ( "aria-hidden" , "true" ) ;
509
+ closeBracket . innerHTML = "]" ;
510
+ calendarNodeSpan . appendChild ( closeBracket ) ;
511
+
502
512
targetNode . appendChild ( calendarNodeSpan ) ;
503
513
}
504
514
{ % endfor % }
You can’t perform that action at this time.
0 commit comments