Hide empty OOUI FieldsetLayout headers
authorVolker E <volker.e@wikimedia.org>
Tue, 14 Nov 2017 23:00:46 +0000 (15:00 -0800)
committerVolker E <volker.e@wikimedia.org>
Tue, 14 Nov 2017 23:14:30 +0000 (15:14 -0800)
commit382e366196b2b9aa7eb08c92776e6f716f8f5d65
tree5a4a232a4904b3a49108f4b19ce669eae611f1c1
parent52e76843e268180a6f7add00f1105c42bf6a4ee8
Hide empty OOUI FieldsetLayout headers

In cases where the label or the icon are unset the header shouldn't take
up space, nor should it be visible to screenreaders.
That's a workaround, it should not be in the markup. T180535 is the place
to address the unnecessary markup further.

Bug: T177668
Bug: T180535
Change-Id: I39088107e6ab07399f9826dd925df9e1b8dda006
resources/src/mediawiki/htmlform/ooui.styles.less