mirror of
https://github.com/microsoft/PowerToys.git
synced 2026-04-05 18:57:19 +02:00
[Keyboard Manager] Fix focusable elements should have different names accessibility issue (#6672)
* Add listview * Added row index to accessible names * Cleanup rowIndex * Fixed accessibility issue with ComboBox * Updated comments
This commit is contained in:
@@ -10,6 +10,7 @@ namespace winrt::Windows::UI::Xaml
|
||||
{
|
||||
struct StackPanel;
|
||||
struct Grid;
|
||||
struct Button;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -25,6 +26,9 @@ private:
|
||||
// Stack panel for the drop downs to display the selected shortcut for the hybrid case
|
||||
winrt::Windows::Foundation::IInspectable hybridDropDownStackPanel;
|
||||
|
||||
// Function to set the accessible names for all the controls in a row
|
||||
static void UpdateAccessibleNames(StackPanel sourceColumn, StackPanel mappedToColumn, Button deleteButton, int rowIndex);
|
||||
|
||||
public:
|
||||
// Vector to store dynamically allocated KeyDropDownControl objects to avoid early destruction
|
||||
std::vector<std::unique_ptr<KeyDropDownControl>> keyDropDownControlObjects;
|
||||
|
||||
Reference in New Issue
Block a user