the :attrs directive has some differences compared to passing attributes to content_tag based functions in phoenix ((e.g. link would convert phx_change to phx-change, and data: [thing: "value"] to data-thing="value"))
Adding a new type handler for html attributes to handle that behavior would address that inconsistency