ginader / easychirp

easychirp.com - Web accessibility for the Twitter website application
11 stars 1 forks source link

Change JS alerts to inline messages OR dialog #203

Open weboverhauls opened 7 years ago

weboverhauls commented 7 years ago

Support for JS alerts on Chromium is going away: https://developers.google.com/web/updates/2017/03/dialogs-policy

Dialog ref: https://developer.mozilla.org/en-US/docs/Web/HTML/Element/dialog

Instances (possibly remove some due to HTML5 required and server-side validation):

  1. Sending tweet - content too long or null
  2. Sending DM - user; content too long or null
  3. Adding member to list
  4. Creating/destroying a favorite
  5. Creating/destroying a blocked user
  6. Muting/unmuting a user
  7. Uploading image
  8. Creating a retweet
  9. Following/unfollowing a user
  10. Shortening URL

And confirm:

  1. Delete list
  2. Unsubscribe list
  3. Report spammer
  4. Block user
  5. Delete DM
  6. Deleting a list member
  7. Deleting a tweet