diff options
| -rw-r--r-- | html/mailpage.html | 6 | ||||
| -rw-r--r-- | src/acit/html.py | 6 |
2 files changed, 10 insertions, 2 deletions
diff --git a/html/mailpage.html b/html/mailpage.html index 16e9249..e95d62c 100644 --- a/html/mailpage.html +++ b/html/mailpage.html @@ -7,6 +7,10 @@ <link href="/style" rel="stylesheet"> </head> <body> + <div id="skiptocontent"> + <a href="#content-target">Skip navigation</a> + </div> + <nav class="formattedheader"> <span class="left"> <a href="/{project}/">{project}</a>/<a href="/{project}/{bug}">{bug}</a>/{pagenr} @@ -24,7 +28,7 @@ <p> <a href="mailto:{emailaddr}">Click to comment via email</a> or <a href="mailto:{subscribe}">subscribe</a> </p> - <p class="center-text">{pageswitcher}</p> + <p class="center-text" id="content-target">{pageswitcher}</p> {content} </article> <p class="center-text">{pageswitcher}</p> diff --git a/src/acit/html.py b/src/acit/html.py index cc874ae..9bb143d 100644 --- a/src/acit/html.py +++ b/src/acit/html.py @@ -14,6 +14,10 @@ mailpage=""" <link href="/style" rel="stylesheet"> </head> <body> + <div id="skiptocontent"> + <a href="#content-target">Skip navigation</a> + </div> + <nav class="formattedheader"> <span class="left"> <a href="/{project}/">{project}</a>/<a href="/{project}/{bug}">{bug}</a>/{pagenr} @@ -31,7 +35,7 @@ mailpage=""" <p> <a href="mailto:{emailaddr}">Click to comment via email</a> or <a href="mailto:{subscribe}">subscribe</a> </p> - <p class="center-text">{pageswitcher}</p> + <p class="center-text" id="content-target">{pageswitcher}</p> {content} </article> <p class="center-text">{pageswitcher}</p> |
