From: Meik S. <acy...@ph...> - 2009-08-20 09:09:16
|
Author: acydburn Date: Thu Aug 20 10:08:53 2009 New Revision: 10021 Log: Revert r9658 Add WAI-ARIA landmarks for easier accessibility to the prosilver template (Bug #45715 - Patch by MarcoZ) I want to test some possibilities to let these be standard-conform. At the moment no documented technique is suitable for phpBB. Modified: branches/phpBB-3_0_0/phpBB/docs/CHANGELOG.html branches/phpBB-3_0_0/phpBB/styles/prosilver/template/overall_footer.html branches/phpBB-3_0_0/phpBB/styles/prosilver/template/overall_header.html branches/phpBB-3_0_0/phpBB/styles/prosilver/template/search_results.html branches/phpBB-3_0_0/phpBB/styles/prosilver/template/simple_footer.html branches/phpBB-3_0_0/phpBB/styles/prosilver/template/simple_header.html branches/phpBB-3_0_0/phpBB/styles/prosilver/template/viewforum_body.html branches/phpBB-3_0_0/phpBB/styles/prosilver/template/viewtopic_body.html Modified: branches/phpBB-3_0_0/phpBB/docs/CHANGELOG.html ============================================================================== *** branches/phpBB-3_0_0/phpBB/docs/CHANGELOG.html (original) --- branches/phpBB-3_0_0/phpBB/docs/CHANGELOG.html Thu Aug 20 10:08:53 2009 *************** *** 210,216 **** <li>[Change] Hide avatar when avatar-type is not allowed (Bug #46785 - Patch by cYbercOsmOnauT and nickvergessen)</li> <li>[Change] INCLUDEPHP not depending on phpbb_root_path (Bug #45805 - Patch by nickvergessen)</li> <li>[Change] Ability to fetch moderators with get_moderators() even if load_moderators setting is off. (Bug #35955)</li> - <li>[Change] Add WAI-ARIA landmarks for easier accessibility to the prosilver template (Bug #45715 - Patch by MarcoZ)</li> <li>[Change] "Post details" links with image in MCP. (Bug #39845 - Patch by leviatan21)</li> <li>[Change] Pm history only shows pms of the receipts you currently reply to (Bug #39505 - Patch by nickvergessen)</li> <li>[Change] Add quote-button for own pm's in pm-history (Bug #37285 - Patch by nickvergessen)</li> --- 210,215 ---- Modified: branches/phpBB-3_0_0/phpBB/styles/prosilver/template/overall_footer.html ============================================================================== *** branches/phpBB-3_0_0/phpBB/styles/prosilver/template/overall_footer.html (original) --- branches/phpBB-3_0_0/phpBB/styles/prosilver/template/overall_footer.html Thu Aug 20 10:08:53 2009 *************** *** 1,6 **** </div> ! <div id="page-footer" role="contentinfo"> <div class="navbar"> <div class="inner"><span class="corners-top"><span></span></span> --- 1,6 ---- </div> ! <div id="page-footer"> <div class="navbar"> <div class="inner"><span class="corners-top"><span></span></span> *************** *** 18,24 **** <span class="corners-bottom"><span></span></span></div> </div> ! <!-- We request you retain the full copyright notice below including the link to www.phpbb.com. This not only gives respect to the large amount of time given freely by the developers --- 18,24 ---- <span class="corners-bottom"><span></span></span></div> </div> ! <!-- We request you retain the full copyright notice below including the link to www.phpbb.com. This not only gives respect to the large amount of time given freely by the developers Modified: branches/phpBB-3_0_0/phpBB/styles/prosilver/template/overall_header.html ============================================================================== *** branches/phpBB-3_0_0/phpBB/styles/prosilver/template/overall_header.html (original) --- branches/phpBB-3_0_0/phpBB/styles/prosilver/template/overall_header.html Thu Aug 20 10:08:53 2009 *************** *** 28,35 **** phpBB style name: prosilver Based on style: prosilver (this is the default phpBB3 style) Original author: Tom Beddard ( http://www.subBlue.com/ ) ! Modified by: ! NOTE: This page was generated by phpBB, the free open-source bulletin board package. The phpBB Group is not responsible for the content of this page and forum. For more information about phpBB please visit http://www.phpbb.com --- 28,35 ---- phpBB style name: prosilver Based on style: prosilver (this is the default phpBB3 style) Original author: Tom Beddard ( http://www.subBlue.com/ ) ! Modified by: ! NOTE: This page was generated by phpBB, the free open-source bulletin board package. The phpBB Group is not responsible for the content of this page and forum. For more information about phpBB please visit http://www.phpbb.com *************** *** 105,111 **** <div id="wrap"> <a id="top" name="top" accesskey="t"></a> <div id="page-header"> ! <div class="headerbar" role="banner"> <div class="inner"><span class="corners-top"><span></span></span> <div id="site-description"> --- 105,111 ---- <div id="wrap"> <a id="top" name="top" accesskey="t"></a> <div id="page-header"> ! <div class="headerbar"> <div class="inner"><span class="corners-top"><span></span></span> <div id="site-description"> *************** *** 116,125 **** </div> <!-- IF S_DISPLAY_SEARCH and not S_IN_SEARCH --> ! <div id="search-box" role="search"> <form action="{U_SEARCH}" method="post" id="search"> <fieldset> ! <input name="keywords" id="keywords" type="text" maxlength="128" title="{L_SEARCH_KEYWORDS}" class="inputbox search" value="<!-- IF SEARCH_WORDS-->{SEARCH_WORDS}<!-- ELSE -->{L_SEARCH_MINI}<!-- ENDIF -->" onclick="if(this.value=='{LA_SEARCH_MINI}')this.value='';" onblur="if(this.value=='')this.value='{LA_SEARCH_MINI}';" /> <input class="button2" value="{L_SEARCH}" type="submit" /><br /> <a href="{U_SEARCH}" title="{L_SEARCH_ADV_EXPLAIN}">{L_SEARCH_ADV}</a> {S_SEARCH_HIDDEN_FIELDS} </fieldset> --- 116,125 ---- </div> <!-- IF S_DISPLAY_SEARCH and not S_IN_SEARCH --> ! <div id="search-box"> <form action="{U_SEARCH}" method="post" id="search"> <fieldset> ! <input name="keywords" id="keywords" type="text" maxlength="128" title="{L_SEARCH_KEYWORDS}" class="inputbox search" value="<!-- IF SEARCH_WORDS-->{SEARCH_WORDS}<!-- ELSE -->{L_SEARCH_MINI}<!-- ENDIF -->" onclick="if(this.value=='{LA_SEARCH_MINI}')this.value='';" onblur="if(this.value=='')this.value='{LA_SEARCH_MINI}';" /> <input class="button2" value="{L_SEARCH}" type="submit" /><br /> <a href="{U_SEARCH}" title="{L_SEARCH_ADV_EXPLAIN}">{L_SEARCH_ADV}</a> {S_SEARCH_HIDDEN_FIELDS} </fieldset> *************** *** 130,136 **** <span class="corners-bottom"><span></span></span></div> </div> ! <div class="navbar" role="navigation"> <div class="inner"><span class="corners-top"><span></span></span> <ul class="linklist navlinks"> --- 130,136 ---- <span class="corners-bottom"><span></span></span></div> </div> ! <div class="navbar"> <div class="inner"><span class="corners-top"><span></span></span> <ul class="linklist navlinks"> *************** *** 148,154 **** <ul class="linklist leftside"> <li class="icon-ucp"> <a href="{U_PROFILE}" title="{L_PROFILE}" accesskey="e">{L_PROFILE}</a> ! <!-- IF S_DISPLAY_PM --> (<a href="{U_PRIVATEMSGS}">{PRIVATE_MESSAGE_INFO}</a>)<!-- ENDIF --> • <a href="{U_SEARCH_SELF}">{L_SEARCH_SELF}</a> <!-- IF U_RESTORE_PERMISSIONS --> • <a href="{U_RESTORE_PERMISSIONS}">{L_RESTORE_PERMISSIONS}</a> --- 148,154 ---- <ul class="linklist leftside"> <li class="icon-ucp"> <a href="{U_PROFILE}" title="{L_PROFILE}" accesskey="e">{L_PROFILE}</a> ! <!-- IF S_DISPLAY_PM --> (<a href="{U_PRIVATEMSGS}">{PRIVATE_MESSAGE_INFO}</a>)<!-- ENDIF --> • <a href="{U_SEARCH_SELF}">{L_SEARCH_SELF}</a> <!-- IF U_RESTORE_PERMISSIONS --> • <a href="{U_RESTORE_PERMISSIONS}">{L_RESTORE_PERMISSIONS}</a> *************** *** 172,179 **** </div> <a name="start_here"></a> ! <div id="page-body" role="main"> ! <!-- IF S_BOARD_DISABLED and S_USER_LOGGED_IN and (U_MCP or U_ACP) --> <div id="information" class="rules"> <div class="inner"><span class="corners-top"><span></span></span> <strong>{L_INFORMATION}:</strong> {L_BOARD_DISABLED} --- 172,179 ---- </div> <a name="start_here"></a> ! <div id="page-body"> ! <!-- IF S_BOARD_DISABLED and S_USER_LOGGED_IN and (U_MCP or U_ACP) --> <div id="information" class="rules"> <div class="inner"><span class="corners-top"><span></span></span> <strong>{L_INFORMATION}:</strong> {L_BOARD_DISABLED} Modified: branches/phpBB-3_0_0/phpBB/styles/prosilver/template/search_results.html ============================================================================== *** branches/phpBB-3_0_0/phpBB/styles/prosilver/template/search_results.html (original) --- branches/phpBB-3_0_0/phpBB/styles/prosilver/template/search_results.html Thu Aug 20 10:08:53 2009 *************** *** 15,21 **** <div class="topic-actions"> <!-- IF SEARCH_MATCHES --> ! <div class="search-box" role="search"> <!-- IF SEARCH_IN_RESULTS --> <label for="add_keywords">{L_SEARCH_IN_RESULTS}: <input type="text" name="add_keywords" id="add_keywords" value="" class="inputbox narrow" /></label> <input class="button2" type="submit" name="submit" value="{L_SEARCH}" /> --- 15,21 ---- <div class="topic-actions"> <!-- IF SEARCH_MATCHES --> ! <div class="search-box"> <!-- IF SEARCH_IN_RESULTS --> <label for="add_keywords">{L_SEARCH_IN_RESULTS}: <input type="text" name="add_keywords" id="add_keywords" value="" class="inputbox narrow" /></label> <input class="button2" type="submit" name="submit" value="{L_SEARCH}" /> Modified: branches/phpBB-3_0_0/phpBB/styles/prosilver/template/simple_footer.html ============================================================================== *** branches/phpBB-3_0_0/phpBB/styles/prosilver/template/simple_footer.html (original) --- branches/phpBB-3_0_0/phpBB/styles/prosilver/template/simple_footer.html Thu Aug 20 10:08:53 2009 *************** *** 10,16 **** The phpBB Group : 2006 //--> ! <div class="copyright" role="contentinfo">Powered by <a href="http://www.phpbb.com/">phpBB</a> © 2000, 2002, 2005, 2007 phpBB Group <!-- IF TRANSLATION_INFO --><br />{TRANSLATION_INFO}<!-- ENDIF --> <!-- IF DEBUG_OUTPUT --><br />{DEBUG_OUTPUT}<!-- ENDIF --> </div> --- 10,16 ---- The phpBB Group : 2006 //--> ! <div class="copyright">Powered by <a href="http://www.phpbb.com/">phpBB</a> © 2000, 2002, 2005, 2007 phpBB Group <!-- IF TRANSLATION_INFO --><br />{TRANSLATION_INFO}<!-- ENDIF --> <!-- IF DEBUG_OUTPUT --><br />{DEBUG_OUTPUT}<!-- ENDIF --> </div> Modified: branches/phpBB-3_0_0/phpBB/styles/prosilver/template/simple_header.html ============================================================================== *** branches/phpBB-3_0_0/phpBB/styles/prosilver/template/simple_header.html (original) --- branches/phpBB-3_0_0/phpBB/styles/prosilver/template/simple_header.html Thu Aug 20 10:08:53 2009 *************** *** 69,72 **** <div id="simple-wrap"> <a id="top" name="top" accesskey="t"></a> ! <div id="page-body" role="main"> \ No newline at end of file --- 69,72 ---- <div id="simple-wrap"> <a id="top" name="top" accesskey="t"></a> ! <div id="page-body"> \ No newline at end of file Modified: branches/phpBB-3_0_0/phpBB/styles/prosilver/template/viewforum_body.html ============================================================================== *** branches/phpBB-3_0_0/phpBB/styles/prosilver/template/viewforum_body.html (original) --- branches/phpBB-3_0_0/phpBB/styles/prosilver/template/viewforum_body.html Thu Aug 20 10:08:53 2009 *************** *** 44,50 **** <!-- ENDIF --> <!-- IF S_DISPLAY_SEARCHBOX --> ! <div class="search-box" role="search"> <form method="post" id="forum-search" action="{S_SEARCHBOX_ACTION}"> <fieldset> <input class="inputbox search tiny" type="text" name="keywords" id="search_keywords" size="20" value="{L_SEARCH_FORUM}" onclick="if (this.value == '{LA_SEARCH_FORUM}') this.value = '';" onblur="if (this.value == '') this.value = '{LA_SEARCH_FORUM}';" /> --- 44,50 ---- <!-- ENDIF --> <!-- IF S_DISPLAY_SEARCHBOX --> ! <div class="search-box"> <form method="post" id="forum-search" action="{S_SEARCHBOX_ACTION}"> <fieldset> <input class="inputbox search tiny" type="text" name="keywords" id="search_keywords" size="20" value="{L_SEARCH_FORUM}" onclick="if (this.value == '{LA_SEARCH_FORUM}') this.value = '';" onblur="if (this.value == '') this.value = '{LA_SEARCH_FORUM}';" /> Modified: branches/phpBB-3_0_0/phpBB/styles/prosilver/template/viewtopic_body.html ============================================================================== *** branches/phpBB-3_0_0/phpBB/styles/prosilver/template/viewtopic_body.html (original) --- branches/phpBB-3_0_0/phpBB/styles/prosilver/template/viewtopic_body.html Thu Aug 20 10:08:53 2009 *************** *** 37,43 **** </div> <!-- IF S_DISPLAY_SEARCHBOX --> ! <div class="search-box" role="search"> <form method="post" id="topic-search" action="{S_SEARCHBOX_ACTION}"> <fieldset> <input class="inputbox search tiny" type="text" name="keywords" id="search_keywords" size="20" value="{L_SEARCH_TOPIC}" onclick="if(this.value=='{LA_SEARCH_TOPIC}')this.value='';" onblur="if(this.value=='')this.value='{LA_SEARCH_TOPIC}';" /> --- 37,43 ---- </div> <!-- IF S_DISPLAY_SEARCHBOX --> ! <div class="search-box"> <form method="post" id="topic-search" action="{S_SEARCHBOX_ACTION}"> <fieldset> <input class="inputbox search tiny" type="text" name="keywords" id="search_keywords" size="20" value="{L_SEARCH_TOPIC}" onclick="if(this.value=='{LA_SEARCH_TOPIC}')this.value='';" onblur="if(this.value=='')this.value='{LA_SEARCH_TOPIC}';" /> |