mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-01-21 17:22:55 -05:00
Agent - Accessibility Bugs (WIP) (#5807)
* fix accessbility issue where tabbing would get wrong focus * dialogs open one at a time * get focus on filter headers * added tool tips to proxy dialog * added labels to step dialog
This commit is contained in:
@@ -74,11 +74,16 @@ export class HeaderFilter<T extends Slick.SlickData> {
|
||||
if (column.id === '_detail_selector') {
|
||||
return;
|
||||
}
|
||||
const $el = jQuery('<div></div>')
|
||||
const $el = jQuery('<div tabIndex="0"></div>')
|
||||
.addClass('slick-header-menubutton')
|
||||
.data('column', column);
|
||||
|
||||
$el.bind('click', (e) => this.showFilter(e)).appendTo(args.node);
|
||||
$el.bind('keydown', (e) => {
|
||||
if (e.key === 'Enter' || e.keyCode === 13) {
|
||||
this.showFilter(e);
|
||||
}
|
||||
}).appendTo(args.node);
|
||||
}
|
||||
|
||||
private handleBeforeHeaderCellDestroy(e: Event, args: Slick.OnBeforeHeaderCellDestroyEventArgs<T>) {
|
||||
|
||||
Reference in New Issue
Block a user