summaryrefslogtreecommitdiff
path: root/views
diff options
context:
space:
mode:
authorRoger Rehnelt <noreply@maennchen1.de>2026-10-02 15:07:48 +0200
committerRoger Rehnelt <noreply@maennchen1.de>2026-10-02 15:07:48 +0200
commit6f5ee1679c4a07e3d4da39f6641f7346a598a881 (patch)
treeb420138688b614e83ee6de06ec430cf87468db55 /views
parent80d40fdce80bbdb7f1b12d27f25a5185446e2f2d (diff)
Warenkorb: Mengenfeld und Auswahllisten mit Namen für Bildschirmleser
Bildschirmleser nannten die Felder nicht (K61). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Diffstat (limited to 'views')
-rw-r--r--views/warenkorb/basket.phtml8
1 files changed, 4 insertions, 4 deletions
diff --git a/views/warenkorb/basket.phtml b/views/warenkorb/basket.phtml
index 123b0b1..1421dd2 100644
--- a/views/warenkorb/basket.phtml
+++ b/views/warenkorb/basket.phtml
@@ -84,7 +84,7 @@
</div>
<div class="amount">
- <input class="wpsg_form_submit_return amount" type="text" name="wpsg[menge][<?php echo $product_data['product_index']; ?>]" <?php echo ((wpsg_isTrue($product_data['oneOnly']) || wpsg_isSizedInt($product_data['basket_multiple'], 4))?'readonly="readonly"':''); ?> value="<?php echo wpsg_hspc($product_data['menge']); ?>" size="3" />
+ <input class="wpsg_form_submit_return amount" type="text" name="wpsg[menge][<?php echo $product_data['product_index']; ?>]" aria-label="<?php echo esc_attr(sprintf(__('Anzahl: %s', 'wpsg'), (($product_data['detailname'] != '')?$product_data['detailname']:$product_data['name']))); ?>" <?php echo ((wpsg_isTrue($product_data['oneOnly']) || wpsg_isSizedInt($product_data['basket_multiple'], 4))?'readonly="readonly"':''); ?> value="<?php echo wpsg_hspc($product_data['menge']); ?>" size="3" />
<a class="wpsg_basket_removelink" href="<?php echo $this->getRemoveLinkURL($product_data['product_index']); ?>" title="<?php echo __('Produkt aus dem Warenkorb entfernen', 'wpsg'); ?>" onclick="return confirm('<?php echo __('Sind Sie sich sicher, dass Sie das Produkt aus dem Warenkorb entfernen möchten?', 'wpsg'); ?>');">
<img src="<?php echo WPSG_URL; ?>views/gfx/bin_x.png" alt="<?php echo __('Löschen', 'wpsg'); ?>" />
@@ -224,7 +224,7 @@
<div class="title">
<span><?php echo wpsg_translate(__('<a href="#1#">Versandkosten</a>:', 'wpsg'), $this->getURL(wpsg_ShopController::URL_VERSANDKOSTEN)); ?></span>
<?php if (sizeof($this->arShipping) > 1) { ?>
- <select name="set_shipping" class="wpsg_form_submit set_shipping">
+ <select name="set_shipping" class="wpsg_form_submit set_shipping" aria-label="<?php echo esc_attr__('Versandart', 'wpsg'); ?>">
<option><?php echo __('Bitte wählen', 'wpsg')?></option>
<?php foreach ($this->arShipping as $s_id => $s) { ?>
<option <?php echo (($s['id'] == $this->view['basket']['checkout']['shipping'])?'selected="selected"':''); ?> value="<?php echo $s_id; ?>"><?php echo wpsg_hspc(__($s['name'], 'wpsg')); ?></option>
@@ -236,7 +236,7 @@
<span><?php echo $this->arShipping[$this->view['basket']['checkout']['shipping']]['name']; ?></span>
<?php } ?>
<?php if ($this->get_option('wpsg_hideBasketCountrySelect') != '1') { ?>
- <select name="set_land" id="set_land" class="wpsg_form_submit set_land">
+ <select name="set_land" id="set_land" class="wpsg_form_submit set_land" aria-label="<?php echo esc_attr__('Lieferland', 'wpsg'); ?>">
<?php foreach ($this->view['arLander'] as $l_id => $l) { ?>
<option <?php echo (($l_id == $this->getFrontendShippingCountry(true))?'selected="selected"':''); ?> value="<?php echo $l_id; ?>"><?php echo wpsg_hspc(__($l, 'wpsg')); ?></option>
<?php } ?>
@@ -287,7 +287,7 @@
<div class="title">
<?php echo __('Zahlungsart:', 'wpsg').'&nbsp;&nbsp;&nbsp;&nbsp;'; ?>
<?php if (sizeof($this->arPayment) > 1) { ?>
- <select name="set_payment" class="wpsg_form_submit set_payment">
+ <select name="set_payment" class="wpsg_form_submit set_payment" aria-label="<?php echo esc_attr__('Zahlungsart', 'wpsg'); ?>">
<option><?php echo __('Bitte wählen', 'wpsg')?></option>
<?php foreach ($this->arPayment as $p_id => $p) { ?>
<option <?php echo (($p['id'] == $this->view['basket']['checkout']['payment'])?'selected="selected"':''); ?> value="<?php echo $p_id; ?>"><?php echo wpsg_hspc($p['name']); ?></option>