Confirmed users
293
edits
(Add ChatZilla example) |
|||
| Line 81: | Line 81: | ||
In ChatZilla's default output window, a table is present in which all the messages get added as rows: | In ChatZilla's default output window, a table is present in which all the messages get added as rows: | ||
<table aria-live="polite" role="log" class="msg-table"></table> | |||
In this case, we opted for simply having all messages spoken. Things which are sent by the user might not necessarily end up in the output window in the same way (eg. multiline messages would be split). | In this case, we opted for simply having all messages spoken. Things which are sent by the user might not necessarily end up in the output window in the same way (eg. multiline messages would be split). | ||
For each message that is added and that is more important than other messages (either because it is a message intended for you directly, rather than a channel, or a channel message containing the user's nickname name, or a word the user specified in their [http://chatzilla.hacksrus.com/faq/#stalk stalk list]), the message row is marked with <tt>aria-live="assertive"</tt> rather than <tt>polite</tt> (the default for the message table, as | For each message that is added and that is more important than other messages (either because it is a message intended for you directly, rather than a channel, or a channel message containing the user's nickname name, or a word the user specified in their [http://chatzilla.hacksrus.com/faq/#stalk stalk list]), the message row is marked with <tt>aria-live="assertive"</tt> rather than <tt>polite</tt> (the default for the message table, as shown above). This allows important messages to come to the user's attention before other messages (see the explanation about <tt>aria-live</tt> values noted above). | ||