Skip to content

Commit

Permalink
remove role=presentation because sonar complains about it
Browse files Browse the repository at this point in the history
  • Loading branch information
stefanseifert committed Apr 29, 2024
1 parent 70d7e85 commit a9a4b9b
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 8 deletions.
6 changes: 3 additions & 3 deletions src/components/turn/BotGainBonusModal.vue
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,13 @@
<ModalDialog id="botGainBonusModal" :title="t('botGainBonus.title')" :size-xl="true" :scrollable="true">
<template #body>
<ul class="nav nav-tabs" role="tablist">
<li class="nav-item" role="presentation">
<li class="nav-item">
<button class="nav-link active" id="tablink-bonus-actions" data-bs-toggle="tab" data-bs-target="#tab-bonus-actions" type="button" role="tab" aria-controls="tab-bonus-actions" aria-selected="false">{{t('botGainBonus.bonusActions')}}</button>
</li>
<li class="nav-item" role="presentation">
<li class="nav-item">
<button class="nav-link" id="tablink-bonus-board" data-bs-toggle="tab" data-bs-target="#tab-bonus-board" type="button" role="tab" aria-controls="tab-bonus-board" aria-selected="true">{{t('botGainBonus.boardBonuses')}}</button>
</li>
<li class="nav-item" role="presentation">
<li class="nav-item">
<button class="nav-link" id="tablink-bonus-promotions" data-bs-toggle="tab" data-bs-target="#tab-bonus-promotions" type="button" role="tab" aria-controls="tab-bonus-promotions" aria-selected="false">{{t('botGainBonus.autobotPromotions')}}</button>
</li>
</ul>
Expand Down
4 changes: 2 additions & 2 deletions src/components/turn/BuildRoadUpgradeLinkModal.vue
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,10 @@
<ModalDialog id="buildRoadUpgradeLinkModal" :title="t('buildRoadUpgradeLink.title')" :size-xl="true" :scrollable="true">
<template #body>
<ul class="nav nav-tabs" role="tablist">
<li class="nav-item" role="presentation">
<li class="nav-item">
<button class="nav-link active" id="tablink-build-road" data-bs-toggle="tab" data-bs-target="#tab-build-road" type="button" role="tab" aria-controls="tab-build-road" aria-selected="false">{{t('buildRoadUpgradeLink.buildRoad.title')}}</button>
</li>
<li class="nav-item" role="presentation">
<li class="nav-item">
<button class="nav-link" id="tablink-upgrade-link" data-bs-toggle="tab" data-bs-target="#tab-upgrade-link" type="button" role="tab" aria-controls="tab-upgrade-link" aria-selected="true">{{t('buildRoadUpgradeLink.upgradeLink.title')}}</button>
</li>
</ul>
Expand Down
6 changes: 3 additions & 3 deletions src/components/turn/LoadTruckModal.vue
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,13 @@
<ModalDialog id="loadTruckModal" :title="t('loadTruck.title')" :size-xl="true" :scrollable="true">
<template #body>
<ul class="nav nav-tabs" role="tablist">
<li class="nav-item" role="presentation">
<li class="nav-item">
<button class="nav-link active" id="tablink-load-truck" data-bs-toggle="tab" data-bs-target="#tab-load-truck" type="button" role="tab" aria-controls="tab-load-truck" aria-selected="false">{{t('loadTruck.title')}}</button>
</li>
<li class="nav-item" role="presentation">
<li class="nav-item">
<button class="nav-link" id="tablink-pharmaceuticals" data-bs-toggle="tab" data-bs-target="#tab-pharmaceuticals" type="button" role="tab" aria-controls="tab-pharmaceuticals" aria-selected="true">{{t('loadTruck.loadingPharmaceuticals.title')}}</button>
</li>
<li v-if="hasWineExpansion" class="nav-item" role="presentation">
<li v-if="hasWineExpansion" class="nav-item">
<button class="nav-link" id="tablink-wine-module" data-bs-toggle="tab" data-bs-target="#tab-wine-module" type="button" role="tab" aria-controls="tab-wine-module" aria-selected="true">{{t('loadTruck.wineModule.title')}}</button>
</li>
</ul>
Expand Down

0 comments on commit a9a4b9b

Please sign in to comment.