Преглед на файлове

Merge pull request #40980 from nextcloud/fix/37092/remove-unnecessary-roles

Simon L преди 7 месеца
родител
ревизия
fe62fa76ff
променени са 5 файла, в които са добавени 4 реда и са изтрити 4 реда
  1. 0 0
      core/css/guest.css
  2. 0 0
      core/css/guest.css.map
  3. 1 1
      core/css/guest.scss
  4. 2 2
      core/templates/layout.guest.php
  5. 1 1
      core/templates/layout.user.php

Файловите разлики са ограничени, защото са твърде много
+ 0 - 0
core/css/guest.css


Файловите разлики са ограничени, защото са твърде много
+ 0 - 0
core/css/guest.css.map


+ 1 - 1
core/css/guest.scss

@@ -741,7 +741,7 @@ footer {
 		font-weight: bold;
 	}
 
-	&[role="contentinfo"] {
+	&.guest-box {
 		padding: 6px 24px;
 		margin-bottom: 1rem;
 

+ 2 - 2
core/templates/layout.guest.php

@@ -33,7 +33,7 @@ p($theme->getTitle());
 		<div class="wrapper">
 			<div class="v-align">
 				<?php if ($_['bodyid'] === 'body-login'): ?>
-					<header role="banner">
+					<header>
 						<div id="header">
 							<div class="logo"></div>
 						</div>
@@ -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>

+ 1 - 1
core/templates/layout.user.php

@@ -56,7 +56,7 @@ p($theme->getTitle());
 			<?php if ($_['id-app-navigation'] !== null) { ?><a href="<?php p($_['id-app-navigation']); ?>" class="button primary skip-navigation"><?php p($l->t('Skip to navigation of app')); ?></a><?php } ?>
 		</div>
 
-		<header role="banner" id="header">
+		<header id="header">
 			<div class="header-left">
 				<a href="<?php print_unescaped($_['logoUrl'] ?: link_to('', 'index.php')); ?>"
 					aria-label="<?php p($l->t('Go to %s', [$_['logoUrl'] ?: $_['defaultAppName']])); ?>"

Някои файлове не бяха показани, защото твърде много файлове са промени