Form and Function: How I Lost My Submit Button & Got It Back
· 4 min read
All the major browsers now support the <dialog%gt;
element. Why add this HTML element? User land code, code that developers write to fill in gaps of the browser, was doing similar things repeatedly, especially around focus trapping, and browser engines responded by adding this functionality directly in the browser.