mirror of
https://we.phorge.it/source/phorge.git
synced 2024-12-19 03:50:54 +01:00
Add role=dialog to all dialogs
Summary: Seen some complaints about usability here, adding role=dialog to improve when these trigger. Test Plan: Turn on Voiceover, tab over to log out link, here proper dialog title and text before highlighted submit button. Reviewers: epriestley Reviewed By: epriestley Subscribers: Korvin Differential Revision: https://secure.phabricator.com/D15993
This commit is contained in:
parent
e64dfbcbd8
commit
b23c85b169
1 changed files with 1 additions and 0 deletions
|
@ -276,6 +276,7 @@ final class AphrontDialogView
|
||||||
$attributes = array(
|
$attributes = array(
|
||||||
'class' => implode(' ', $classes),
|
'class' => implode(' ', $classes),
|
||||||
'sigil' => 'jx-dialog',
|
'sigil' => 'jx-dialog',
|
||||||
|
'role' => 'dialog',
|
||||||
);
|
);
|
||||||
|
|
||||||
$form_attributes = array(
|
$form_attributes = array(
|
||||||
|
|
Loading…
Reference in a new issue