← Back to team overview

mahara-contributors team mailing list archive

[Bug 1896187] Re: Small error in user interface gives high risk of accidentaly deleting journals

 

*** This bug is a duplicate of bug 1924973 ***
    https://bugs.launchpad.net/bugs/1924973

** This bug has been marked a duplicate of bug 1924973
   Keyboard focus should be on title of the first journal for multiple journals

-- 
You received this bug notification because you are a member of Mahara
Contributors, which is subscribed to Mahara.
Matching subscriptions: mahara-contributors
https://bugs.launchpad.net/bugs/1896187

Title:
  Small error in user interface gives high risk of accidentaly deleting
  journals

Status in Mahara:
  Triaged

Bug description:
  At the list page of the journals the delete buttons all have the class
  "autofocus", which means that when you enter the page this button is
  focused. If you happen to press enter on your keyboard a question of
  deletion of the first item is triggered. Since this question also have
  "OK" as default value, another accidental press on enter leads to a
  deleting the first item. Then the focus will move to the second item,
  and the same can happen again. By just entering the page and pressing
  the enter key a number of times all of the journals can be deleted.

  I happened to remove a number of items from my journals this way. I
  suggest that you remove the "autofocus" class from the delete button
  to avoid this risk and since I cannot see any useful reason for this
  behaviour.

  I have seen this in several versions of Mahara, including 19.10 and
  20.04.

To manage notifications about this bug go to:
https://bugs.launchpad.net/mahara/+bug/1896187/+subscriptions



References