mirror of
https://github.com/freeCodeCamp/freeCodeCamp.git
synced 2026-06-16 21:06:35 +08:00
fix(curriculum): added missing aria-live attributes to message box (#60477)
This commit is contained in:
parent
6c38557ed9
commit
1311b4e10f
@ -519,7 +519,7 @@ try {
|
||||
</div>
|
||||
<div id="btn-container">
|
||||
<button type="submit" id="submit-btn">Submit</button>
|
||||
<span id="message-box"></span>
|
||||
<span id="message-box" aria-live="polite"></span>
|
||||
</div>
|
||||
|
||||
</form>
|
||||
@ -674,7 +674,7 @@ textarea {
|
||||
</div>
|
||||
<div id="btn-container">
|
||||
<button type="submit" id="submit-btn">Submit</button>
|
||||
<span id="message-box"></span>
|
||||
<span id="message-box" aria-live="polite"></span>
|
||||
<button type="button" id="clear-btn">Clear</button>
|
||||
</div>
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user