Is this specific only for XD or is Photoshop included in the upcoming changes?
Specifically, with regards to the native HTML elements being deprecated, does that include the native HTML button for Photoshop?
There is a bug with sp-button in Photoshop which I reported. The work-around was to use the native HTML button which does not have the bug. In 22.1.0, it seems to be partially fixed but there are still some issues with the sp-button. The issues are kind of difficult to explain so I was planning to create a video and post showing what the sp-buttons are doing.
Here is a link to the post where I reported the bug. Other people are seeing the same thing too.