File tree Expand file tree Collapse file tree 3 files changed +3
-0
lines changed
packages/embed/src/factories Expand file tree Collapse file tree 3 files changed +3
-0
lines changed Original file line number Diff line number Diff line change @@ -51,6 +51,7 @@ const buildCloseButton = (close: () => void) => {
51
51
const closeButton = document . createElement ( 'button' )
52
52
closeButton . className = 'tf-v1-close tf-v1-close-icon'
53
53
closeButton . innerHTML = '×'
54
+ closeButton . ariaLabel = 'Close'
54
55
closeButton . onclick = invokeWithoutDefault ( close )
55
56
return closeButton
56
57
}
Original file line number Diff line number Diff line change @@ -45,6 +45,7 @@ const buildCloseButton = (close: () => void) => {
45
45
const closeButton = document . createElement ( 'button' )
46
46
closeButton . className = 'tf-v1-close tf-v1-close-icon'
47
47
closeButton . innerHTML = '×'
48
+ closeButton . ariaLabel = 'Close'
48
49
closeButton . onclick = invokeWithoutDefault ( close )
49
50
return closeButton
50
51
}
Original file line number Diff line number Diff line change @@ -25,6 +25,7 @@ const buildCloseButton = () => {
25
25
const closeButton = document . createElement ( 'button' )
26
26
closeButton . className = 'tf-v1-widget-close tf-v1-close-icon'
27
27
closeButton . innerHTML = '×'
28
+ closeButton . ariaLabel = 'Close'
28
29
return closeButton
29
30
}
30
31
You can’t perform that action at this time.
0 commit comments