Azure / cosmos-explorer

UI for Azure Cosmos DB. Powers the Azure Portal, https://cosmos.azure.com/, and the Cosmos DB Emulator
https://cosmos.azure.com
MIT License
107 stars 50 forks source link

Delete Container: Aria-required attribute is not defined for "Confirm by typing the container id" mandatory edit field. #1042

Open ato9000 opened 3 years ago

ato9000 commented 3 years ago

https://msdata.visualstudio.com/CosmosDB/_workitems/edit/1241070

ato9000 commented 3 years ago

Note: User credentials should NOT be included in the bug.

Pre-Requisite: Select "Core(SQL)" in API combo box while creating the Cosmos DB.

Repro Steps: Open URL: https://ms.portal.azure.com/ and login using valid credentials. Navigate to "Azure Cosmos DB " from left pane and select it. Navigate to any of the Azure Cosmos DB which is already created and select it. Navigate to "Data Explorer" from the left and select it. Navigate through all the controls under SQL API Section and select any of the item then some new menu item appears in the top like New SQL Query, New Stored Procedure.. Navigate to "Delete Collection" menu item from the more options(...) and select it. Navigate through all the controls under "Delete Container" blade. Navigate to 'Confirm by typing the container ID' required edit field with asterisk mark(*). Inspect the Edit text box through developer tool F12. Verify the issue.

Actual Result: Aria-required attribute is not defined for the "Confirm by typing the container id" mandatory edit field which has an asterisk to symbolize it is required due to which screen reader does not announce as 'required' along with such controls.

Expected Result: Aria-required attribute should be defined for "Confirm by typing the container id" mandatory edit field which has an asterisk to symbolize it is required so that screen reader will announce 'required' along with such controls.

Note: This issue exists throughout the application for similar controls like 'Delete table', 'Delete Keyspace' etc. image