I played with the template attribute and, of course, tried to send form string that intentionally did not match the required template, given the HTML:
<form action="#" method="post"> <input type="text" pattern="[AZ]{2,3}" /> <button type="submit">Submit</button> </form>
JS Fiddle demo .
I tried sending using 1 , which, of course, led to browser error handling (Chrome 21):

I tried right-clicking the pop-up window and βcheck the itemβ, but with respect to Web developer tools, I seem to be looking at the input element (which makes sense, I suppose), and not the pop-up dialog. So, I was wondering: is it possible to access / interact with this dialog via JavaScript (for sensitive improvements) or CSS (for styling)?
The main goal is to offer high-contrast alternatives for custom enhancements or just pop-ups that are compatible with site style and color schemes.
Edited for link to MDN for compatibility information:
source share