3 ms·
Better option is graceful degradation, just Target those specific problematic UAs for the other input type.
by throwaway-q2233 7y ago
Better option is graceful degradation, just Target those specific problematic UAs for the other input type.
- shakna 7y agoAs with most accessibility problems... Checking my User Agent won't tell you how I'm interacting with the site. How do you detect I'm using NVDA? It'll still look like Firefox. Or Chrome if I'm bypassing a broken UA detection. Nowhere will you see NVDA, even though it is the problem.
- inanutshellus 7y agoUnless I'm missing something, the graceful degradation is the `pattern="[0-9]"`. Certainly `input type="text"` is about as "degradation friendly" as you can get in HTML land...