mirror of
https://github.com/MaSzyna-EU07/StarterNG.git
synced 2026-11-18 22:45:59 +01:00
fix: NVDA reads the tree entry, slider and help button under the mouse
The tree entry listed the entries under it as its own children, so the controls inside it lost their way up and Windows failed every lookup there. It now only points up to the entry it hangs under, which is all the level needs. The buttons and knob of a slider's track had no name; they now say the slider's name and value. A button showing only a sign such as "?" takes its tooltip.
This commit is contained in:
@@ -41,14 +41,12 @@ public class ExpandableTreeViewItemTests
|
||||
}
|
||||
|
||||
[Fact]
|
||||
public void An_entry_on_its_own_has_nothing_under_it_and_nothing_over_it()
|
||||
public void An_entry_on_its_own_has_nothing_over_it()
|
||||
{
|
||||
var item = new ExpandableTreeViewItem { Header = "Całkowo", IsExpanded = true };
|
||||
var peer = ControlAutomationPeer.CreatePeerForElement(item);
|
||||
|
||||
Assert.Empty(item.ReadableChildren);
|
||||
Assert.Null(item.ReadableParent);
|
||||
Assert.Empty(peer.GetChildren());
|
||||
Assert.Null(peer.GetParent());
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user