I found it a slight distraction to ponder the purpose of id="modal-1-content" in the markup example. I came to the conclusion that it is a legacy of when the example also included aria-describedby="modal-1-content". If this is the case, then for the sake of simplicity perhaps the modal-1-content ID should also be removed.
I found it a slight distraction to ponder the purpose of
id="modal-1-content"in the markup example. I came to the conclusion that it is a legacy of when the example also includedaria-describedby="modal-1-content". If this is the case, then for the sake of simplicity perhaps themodal-1-contentID should also be removed.