Page MenuHomePhabricator

Preview section not hidden from accessibility DOM when mode is Visual
Open, Needs TriagePublic

Description

In visual mode, when I navigate the DOM using VoiceOver, it presents "Preview", which is the label for the preview section. This section is visually hidden when using the Visual mode, but not for screenreader. It should use either display:none and/or aria-hidden, not height:0.

.ext-discussiontools-ui-replyWidget-preview:empty {
  height: 0;
  padding: 0;
  overflow: hidden;
}