If there's a category entered in the Pages in these categories: field and you tab on it:
- the first tab selects the tag item ( a.k.a. pill field ),
- second tab selects the link inside of the item.
If you then press enter, the expected behavior would be for the link to get opened in a new tab, instead the pill is destroyed.
Not sure how much of that is standard behavior, but at least opening the link should be somehow possible by keyboard only.
Please see the gif below:
As far as I can tell, this is coming from an event handling logic defined in [[ https://doc.wikimedia.org/oojs-ui/master/js/source/TagItemWidget.html#OO-ui-TagItemWidget | TagItemWidget's constructor ]].
Please note this ticket is meant to start a discussion about how we want those fields to behave. Once that's decided we can discuss how (and where) to approach the implementation.
p.s. The behavior is the same for the template field. Both are using TagMultiselectWidget ( which inherits TagItemWidget ).
