primefaces / primeng

The Most Complete Angular UI Component Library
https://primeng.org
Other
10.21k stars 4.55k forks source link

Missing focus style on p-tree with material design theme #10196 #10197

Closed PeterHewat closed 3 years ago

PeterHewat commented 3 years ago

I'm submitting a ... (check one with "x")

[x] bug report => Search github for a similar issue or PR before submitting
[ ] feature request => Please check if request is not on the roadmap already https://github.com/primefaces/primeng/wiki/Roadmap
[ ] support request => Please do not submit support request here, instead see http://forum.primefaces.org/viewforum.php?f=35

Current behavior Keyboard navigation using TAB to focus to a p-tree doesn't have a focused style making navigation blind. This is specific to all material design themes.

Expected behavior Focus state should have a specific style.

Minimal reproduction of the problem with instructions Use one of the material design themes then try to set focus to a p-tree using TAB navigation.

What is the motivation / use case for changing the behavior? Better accessibility.

The lack of specific focus style in meterial design themes also occurs on p-inputSwitch (see #10196) and p-calendar (see #10195) and probably other components.

yigitfindikli commented 3 years ago

Moved to https://github.com/primefaces/primeng/issues/10195