Dialogs 2/2


Here is another dialog example that, instead of displaying a message, will ask the user to select a folder among a list.


Here is the final result of this example.


Not many changes from the first dialog example, but in this case we use a list. Make sure to use a relevant labelling using the attribute aria-labelledby.

          <p id="list-label">My files</p>
          <div role="listbox" tabindex="0" class="defaultFocus" aria-labelledby="list-label">