Remember to go through the list of boolean attributes in the spec and exempt any new values (like until-found for the hidden attribute) from such a conversion. New attributes should not be added to the list but any changes in existing ones will need to be accounted for.
See https://github.com/jquery/api.jquery.com/issues/1243 & https://github.com/jquery/jquery/pull/5452 for changes planned for 4.0. We should restore special boolean attributes treatment and warn if the setter is used with an unrecognized value. In the getter, warn if the value is different than the lowercased attribute name.
Remember to go through the list of boolean attributes in the spec and exempt any new values (like
until-found
for thehidden
attribute) from such a conversion. New attributes should not be added to the list but any changes in existing ones will need to be accounted for.