]> source.dussan.org Git - nextcloud-server.git/commitdiff
fix(core): remove unnecessary role=contentinfo from page footer on login
authorGrigorii K. Shartsev <me@shgk.me>
Thu, 19 Oct 2023 10:16:12 +0000 (12:16 +0200)
committerGrigorii K. Shartsev <me@shgk.me>
Sat, 21 Oct 2023 15:35:44 +0000 (17:35 +0200)
`<footer>` has this role initially then it is a page footer, not inside `section`/`article`, and etc.

Signed-off-by: Grigorii K. Shartsev <me@shgk.me>
core/css/guest.scss
core/templates/layout.guest.php

index 11378990a0b040bf1bb093b0e5dafdbbcb5ed93c..f834149fd351be243e722bd518e1c2ae30801a25 100644 (file)
@@ -741,7 +741,7 @@ footer {
                font-weight: bold;
        }
 
-       &[role="contentinfo"] {
+       &.guest-box {
                padding: 6px 24px;
                margin-bottom: 1rem;
 
index e90476291bfebaaf89a554c2431c3706b833c768..41f519574a147a19c6a6e87dab40511a834dfbfc 100644 (file)
@@ -47,7 +47,7 @@ p($theme->getTitle());
                                </main>
                        </div>
                </div>
-               <footer role="contentinfo" class="guest-box">
+               <footer class="guest-box">
                        <p class="info">
                                <?php print_unescaped($theme->getLongFooter()); ?>
                        </p>