How do you notify screen readers using WAI-ARIA that a div is now visible?
If we got the html
<div id="foo">Present main content</div>
<div id="bar" style="display: none;">Hidden content</div>
and then we
$('#foo').hide();
$('#bar').show();
how do we notify screen readers that they should notify the user about the now visible div (or possibly automatically focus on the now visible div)?
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…