Skip to content

fix: add aria-label for role=dialog (accessibility) #1812

fix: add aria-label for role=dialog (accessibility)

fix: add aria-label for role=dialog (accessibility) #1812

name: acceptance tests
on:
push:
branches:
- '**'
- '!l10n_*'
pull_request:
branches:
- '**'
- '!l10n_*'
jobs:
acceptance-tests:
runs-on: ubuntu-22.04
env:
BROWSERSTACK_USERNAME: ${{ secrets.BROWSERSTACK_USERNAME }}
BROWSERSTACK_ACCESS_KEY: ${{ secrets.BROWSERSTACK_ACCESS_KEY }}
continue-on-error: false
strategy:
fail-fast: false
matrix:
php-version: [ "8.1", "8.2", "8.3" ]
browser: [ chrome ]
theme: [ bootstrap3-banner, bootstrap3-modal, bootstrap4-modal, bootstrap5-modal, customtheme ]
steps:
- uses: actions/checkout@v4
# Set PHP version
- run: |
sed -i -e 's/^php_version:.*/php_version: ${{ matrix.php-version }}/g' .ddev/config.yaml
# Start ddev
- uses: ddev/github-action-setup-ddev@v1
# Setup tests
- run: ddev composer cookieman:${{ matrix.theme }}
# Run tests
- run: ddev composer test:acceptance:${{ matrix.browser }}
# Save acceptance reports
- uses: actions/upload-artifact@master
with:
name: ${{ matrix.browser }}-${{ matrix.theme }}-${{ matrix.php-version }}-ar
path: Build/AcceptanceReports
if: always()
acceptance-tests-firefox:
runs-on: ubuntu-22.04
env:
BROWSERSTACK_USERNAME: ${{ secrets.BROWSERSTACK_USERNAME }}
BROWSERSTACK_ACCESS_KEY: ${{ secrets.BROWSERSTACK_ACCESS_KEY }}
continue-on-error: true
strategy:
fail-fast: false
matrix:
php-version: [ "8.3" ]
browser: [ firefox ]
theme: [ bootstrap3-banner, bootstrap3-modal, bootstrap4-modal, bootstrap5-modal, customtheme ]
steps:
- uses: actions/checkout@v4
# Set PHP version
- run: |
sed -i -e 's/^php_version:.*/php_version: ${{ matrix.php-version }}/g' .ddev/config.yaml
# Start ddev
- uses: ddev/github-action-setup-ddev@v1
# Setup tests
- run: ddev composer cookieman:${{ matrix.theme }}
# Run tests
- run: ddev composer test:acceptance:${{ matrix.browser }}
# Save acceptance reports
- uses: actions/upload-artifact@v3
with:
name: ${{ matrix.browser }}-${{ matrix.theme }}-${{ matrix.php-version }}-ar
path: Build/AcceptanceReports
if: always()