bug(matTabLink): disabled flag prevents mouse click but does not prevent clicking using spacebar #27270
Labels
area: material/tabs
P3
An issue that is relevant to core functions, but does not impede progress. Important, but not urgent
Is this a regression?
The previous version in which this bug was not present was
No response
Description
This is a follow up for #27071.
It claims that this issue was fixed, but it is not. Yes, preventing clicking by mouse is working fine now.
However, one can still initiate the action via keyboard by hitting spacebar when navigating to a disabled tab via cursor keys.
Navigating to disabled tabs should probably not be possible in the first place though.
Reproduction
StackBlitz link:
Steps to reproduce:
1.
2.
Expected Behavior
Setting a tab disabled should prevent mouseclicks and keyboard actions (space/return etc.)
Actual Behavior
It is still possible to navigate and activate a disabled tab via keyboard
Environment
The text was updated successfully, but these errors were encountered: