Tab on disabled input

后端 未结 5 1678
囚心锁ツ
囚心锁ツ 2021-02-20 04:18

I am implementing progressive UI disclosure pattern in my application. Using which I am disabling the next elements. So based on input of one element the next element is enabled

5条回答
  •  滥情空心
    2021-02-20 04:53

    You can use tabindex attribute in this case. Please refer below code, you need to update tabindex of disabled elements in a way that they get skipped when you press tab.

    as per w3schools

    The tabindex attribute specifies the tab order of an element (when the "tab" button is used for navigating).

        
    
    
        
        
        
        
        
        
        

提交回复
热议问题