Closed NiharikaTipirishetty closed 1 year ago
@NiharikaTipirishetty, the focus of the row selects the row and shows the content on the right side of the screen. Whereas the focus of the checkbox just clicks the checkbox. So, they are not performing the same action. What should be the expected behavior in this case?
Closing this issue, as both the focus item have different behaviors and it is working as intended.
@aasimkhan30
Here when we select row as well as when we check checkboxes also the content on the right side of the screen is appearing. Please Reactivate bug
Attachment for Reference : 19862
@VijayaBharathyA ,
If we focus on the row and press enter/space only the right content gets loaded However, if we focus the checkbox and press enter/space, both the database gets checked and the right content also gets loaded.
This is the ideal and expected behavior as having these 2 different focuses lets the user see the content on the right without checking the database.
@alanrenmsft and @Charles-Gagnon what would you suggest the behavior be in this case.
I suppose you could just change it so clicking the checkbox doesn't select the row in this case. Was that an intentional part of the design?
I'm not sure why this is considered an a11y bug though - just because they both result in the content being shown doesn't seem like a bad thing to me.
Might be worth bringing to the office hours to see what they have to say.
@Charles-Gagnon Could you please join office hour to discuss this issue and get it confirmed?
@VijayaBharathyA This bug seems to be related to the ADS DeclarativeTable component and not the SQL-Migration extension. I am closing this bug.
Please open a 3rd party issue for the DeclarativeTable component and assign to the ADS core team with the context above as well.
This is a sample of how to repro/create the component:
private _databaseTable!: azdata.DeclarativeTableComponent; this._databaseTable = this._view.modelBuilder.declarativeTable().withProps( { ariaLabel: constants.DATABASES_TABLE_TILE, enableRowSelection: true, width: 230, CSSStyles: { 'table-layout': 'fixed' }, columns: [ { displayName: '', valueType: azdata.DeclarativeDataType.boolean, width: 20, isReadOnly: false, showCheckAll: true, headerCssStyles: headerLeft, }, { displayName: constants.DATABASE, // undo when bug #16445 is fixed // valueType: azdata.DeclarativeDataType.component, valueType: azdata.DeclarativeDataType.string, width: 160, isReadOnly: true, headerCssStyles: headerLeft }, { displayName: constants.ISSUES, valueType: azdata.DeclarativeDataType.string, width: 50, isReadOnly: true, headerCssStyles: headerRight, } ] } ).component();
As per discussion with SME, This bug can be closed and I have logged New usability issue for the content target platform should not get changed when checking /Unchecking the checkbox Bug URL: https://github.com/microsoft/azuredatastudio/issues/22860
"Check out Accessibility Insights! - Identify accessibility bugs before check-in and make bug fixing faster and easier.”
Github Tags:
A11yMAS; #A11yTCS; #A11ySev2; #Benchmark; #SH-AzureSQLMigration-Win32-Jun2022; #DesktopApp; #Win32; #SQL Migration Control Plane; #WCAG2.4.3; #Focus order;
Environment and OS details:
Azure Data Studio Version 1.37.0(User Setup) Windows Version 21H2 (OS Build 22000.675)
Repro Steps:
Actual Result:
Keyboard tab focus is going to database twice i.e. checkbox and entire row where functionality for both is same(selecting database)
Expected Result:
Keyboard tab focus should go to database only once for selecting database either checkbox or entire row. When focus lands on entire row and user presses space to select it checkbox should get selected or focus must land on checkbox itself and on pressing space it should get selected.
Attachment: