File tree Expand file tree Collapse file tree 1 file changed +13
-1
lines changed Expand file tree Collapse file tree 1 file changed +13
-1
lines changed Original file line number Diff line number Diff line change @@ -15,11 +15,19 @@ export class GridResponsiveSidebarColumn extends React.Component {
15
15
open,
16
16
onHideClick,
17
17
children,
18
+ ariaLabel,
18
19
} = this . props ;
19
20
20
21
return (
21
22
< >
22
- < Grid . Column mobile = { mobile } tablet = { tablet } width = { width } only = "mobile tablet" >
23
+ < Grid . Column
24
+ as = "aside"
25
+ aria-label = { ariaLabel }
26
+ mobile = { mobile }
27
+ tablet = { tablet }
28
+ width = { width }
29
+ only = "mobile tablet"
30
+ >
23
31
< Sidebar
24
32
as = { Segment }
25
33
animation = "overlay"
@@ -44,6 +52,8 @@ export class GridResponsiveSidebarColumn extends React.Component {
44
52
</ Grid . Column >
45
53
46
54
< Grid . Column
55
+ as = "aside"
56
+ aria-label = { ariaLabel }
47
57
width = { width }
48
58
only = "computer"
49
59
computer = { computer }
@@ -67,6 +77,7 @@ GridResponsiveSidebarColumn.propTypes = {
67
77
computer : PropTypes . number ,
68
78
largeScreen : PropTypes . number ,
69
79
widescreen : PropTypes . number ,
80
+ ariaLabel : PropTypes . string ,
70
81
} ;
71
82
72
83
GridResponsiveSidebarColumn . defaultProps = {
@@ -76,4 +87,5 @@ GridResponsiveSidebarColumn.defaultProps = {
76
87
computer : undefined ,
77
88
widescreen : undefined ,
78
89
largeScreen : undefined ,
90
+ ariaLabel : undefined ,
79
91
} ;
You can’t perform that action at this time.
0 commit comments