Fossil

Check-in [ba3fa28d68]
Login

Check-in [ba3fa28d68]

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

Overview
Comment:Removed the title property from the nav element for the submenu in style.c. It caused a redundant tooltip, and was not necessary.
Downloads: Tarball | ZIP archive
Timelines: family | ancestors | descendants | both | wcag-2.1
Files: files | file ages | folders
SHA3-256: ba3fa28d68821328ee5ab5d8a6998181b6e55f2fce170597bebadbe9f1d368ed
User & Date: ericwikman 2022-11-13 19:49:52.440
Context
2022-11-16
16:09
Merge trunk into wcag-2.1 branch for deployment on test server. ... (Leaf check-in: 56d8000a53 user: stephan tags: wcag-2.1)
2022-11-13
19:49
Removed the title property from the nav element for the submenu in style.c. It caused a redundant tooltip, and was not necessary. ... (check-in: ba3fa28d68 user: ericwikman tags: wcag-2.1)
18:49
Update /chat and /pikchrshow UIs to work with skins conforming to the WCAG rework as well as pre-WCAG skins (except for the bootstrap skin, which restructures the DOM in an incompatible way). ... (check-in: d208efdd5e user: stephan tags: wcag-2.1)
Changes
Unified Diff Ignore Whitespace Patch
Changes to src/style.c.
990
991
992
993
994
995
996
997
998
999
1000
1001
1002
1003
1004
    int i;
    char zClass[32]; /* reduced form of the main attribute */
    if( nSubmenuCtrl ){
      @ <form id='f01' method='GET' action='%R/%s(g.zPath)'>
      @ <input type='hidden' name='udc' value='1'>
      cgi_tag_query_parameter("udc");
    }
    @ <nav id="submenu" class="submenu" title="Submenu">
    if( nSubmenu>0 ){
      qsort(aSubmenu, nSubmenu, sizeof(aSubmenu[0]), submenuCompare);
      for(i=0; i<nSubmenu; i++){
        struct Submenu *p = &aSubmenu[i];
        style_derive_classname(p->zLabel, zClass, sizeof zClass);
        /* switching away from the %h formatting below might be dangerous
        ** because some places use %s to compose zLabel and zLink;







|







990
991
992
993
994
995
996
997
998
999
1000
1001
1002
1003
1004
    int i;
    char zClass[32]; /* reduced form of the main attribute */
    if( nSubmenuCtrl ){
      @ <form id='f01' method='GET' action='%R/%s(g.zPath)'>
      @ <input type='hidden' name='udc' value='1'>
      cgi_tag_query_parameter("udc");
    }
    @ <nav id="submenu" class="submenu">
    if( nSubmenu>0 ){
      qsort(aSubmenu, nSubmenu, sizeof(aSubmenu[0]), submenuCompare);
      for(i=0; i<nSubmenu; i++){
        struct Submenu *p = &aSubmenu[i];
        style_derive_classname(p->zLabel, zClass, sizeof zClass);
        /* switching away from the %h formatting below might be dangerous
        ** because some places use %s to compose zLabel and zLink;