File tree Expand file tree Collapse file tree 3 files changed +7
-4
lines changed Expand file tree Collapse file tree 3 files changed +7
-4
lines changed Original file line number Diff line number Diff line change 182
182
<source >Close Sidebar</source >
183
183
<context-group purpose =" location" >
184
184
<context context-type =" sourcefile" >../../sidebar/sidebar/sidebar.ts</context >
185
- <context context-type =" linenumber" >114 </context >
185
+ <context context-type =" linenumber" >117 </context >
186
186
</context-group >
187
187
<note priority =" 1" from =" description" >Button label to close the sidebar</note >
188
188
</trans-unit >
189
189
<trans-unit id =" sbbSidebarOpenSidebar" datatype =" html" >
190
190
<source >Open Sidebar</source >
191
191
<context-group purpose =" location" >
192
192
<context context-type =" sourcefile" >../../sidebar/sidebar/sidebar.ts</context >
193
- <context context-type =" linenumber" >555 </context >
193
+ <context context-type =" linenumber" >558 </context >
194
194
</context-group >
195
195
<note priority =" 1" from =" description" >Button label to open the sidebar</note >
196
196
</trans-unit >
Original file line number Diff line number Diff line change 194
194
</unit >
195
195
<unit id =" sbbSidebarCloseSidebar" >
196
196
<notes >
197
- <note category =" location" >../../sidebar/sidebar/sidebar.ts:114 </note >
197
+ <note category =" location" >../../sidebar/sidebar/sidebar.ts:117 </note >
198
198
<note category =" description" >Button label to close the sidebar</note >
199
199
</notes >
200
200
<segment >
203
203
</unit >
204
204
<unit id =" sbbSidebarOpenSidebar" >
205
205
<notes >
206
- <note category =" location" >../../sidebar/sidebar/sidebar.ts:555 </note >
206
+ <note category =" location" >../../sidebar/sidebar/sidebar.ts:558 </note >
207
207
<note category =" description" >Button label to open the sidebar</note >
208
208
</notes >
209
209
<segment >
Original file line number Diff line number Diff line change @@ -98,6 +98,9 @@ export class SbbSidebarContent extends SbbSidebarContentBase implements AfterCon
98
98
'[class.sbb-sidebar-opened]' : 'opened' ,
99
99
'[class.sbb-sidebar-collapsible]' : 'collapsible' ,
100
100
'[style.visibility]' : '(!_container && !opened) ? "hidden" : null' ,
101
+ // The sidebar container should not be focused on when used in side mode.
102
+ // Updates tabIndex to default to null if in side mode.
103
+ '[attr.tabIndex]' : '(mode !== "side") ? "-1" : null' ,
101
104
} ,
102
105
changeDetection : ChangeDetectionStrategy . OnPush ,
103
106
encapsulation : ViewEncapsulation . None ,
You can’t perform that action at this time.
0 commit comments