Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
99 commits
Select commit Hold shift + click to select a range
c7a88a3
createSelect: fix initial value set
flx-sta Jan 26, 2024
9b637ea
Merge branch 'adobe:main' into patch-1
flx-sta Feb 27, 2024
a6d3fda
Update fstab.yaml
flx-sta Feb 27, 2024
f4779d1
Update fstab.yaml
flx-sta Feb 27, 2024
4a63bbe
Merge branch 'main' into patch-1
Feb 27, 2024
6534dfa
revert fstab
shsteimer Feb 27, 2024
3189a58
fix: remove lowercase of value from text so pre-selection works
shsteimer Feb 27, 2024
8d7c732
fix: js doc comment with correct return type
shsteimer Apr 29, 2024
81da69f
chore: updating README in par with aem-boilerplate
kmurugulla Feb 10, 2025
e7109cd
chore: updating aem.js with enhanced RUM from aem-boilerplate
kmurugulla Feb 10, 2025
5362bae
chore: updating the pr template in par with aem-boilerplate
kmurugulla Feb 10, 2025
99a875f
chore: remove unnecessary sampleRUM.enhance in par with aem-boilerplate
kmurugulla Feb 10, 2025
d03e24f
chore: lint
fkakatie Feb 11, 2025
604026f
chore: lint
fkakatie Feb 11, 2025
5ad30db
Merge pull request #77 from adobe/syncwith-boiler-plate
fkakatie Feb 11, 2025
97424d8
fix: add aria-label for links to achieve 100 a11y scores
kmurugulla Feb 11, 2025
b97f8c9
chore: cleaning the console log
kmurugulla Feb 11, 2025
5ee8dbf
chore: adding null checks
kmurugulla Feb 12, 2025
ddd84c3
chore: adding cleanup-on-create as in aem-boilerplate
kmurugulla Feb 12, 2025
9fed5ca
Merge pull request #57 from adobe/select-value
shsteimer Feb 12, 2025
a90d7ea
Merge pull request #61 from adobe/fix-fragment-doc
shsteimer Feb 12, 2025
3f26a4f
chore: remove renovate, update deps to match aem-boilerplate
shsteimer Feb 12, 2025
7385eee
support cell alignment in table
yumeniiru Feb 13, 2025
f291317
Merge pull request #81 from yumeniiru/table
rofe Feb 13, 2025
502fb1c
chore: adding suggested review comments
kmurugulla Feb 13, 2025
733dfb0
chore: fixing spaces in comments
kmurugulla Feb 13, 2025
dd679f4
Merge pull request #80 from adobe/deps
shsteimer Feb 13, 2025
1240044
Merge pull request #78 from adobe/a11y-link-labels
kmurugulla Feb 25, 2025
03033a8
Merge pull request #79 from adobe/gh-cleanup-wf
kmurugulla Feb 25, 2025
16dacfe
Add renovate.json (#82)
renovate[bot] Mar 7, 2025
6db5da0
chore(deps): update dependency stylelint to v16.15.0 (#83)
renovate[bot] Mar 7, 2025
d68c527
chore: re-align dependency for linting (#84)
kptdobe Mar 7, 2025
17ca808
chore: re-align "setup" with boilerplate
kptdobe Mar 13, 2025
1f48e51
chore(deps): update dependency @babel/eslint-parser to v7.26.10 (#85)
renovate[bot] Mar 13, 2025
9898c10
chore(deps): update dependency stylelint to v16.16.0 (#86)
renovate[bot] Mar 14, 2025
33e0876
chore(deps): update dependency @babel/eslint-parser to v7.27.0 (#87)
renovate[bot] Mar 25, 2025
5f4de35
chore(deps): update dependency stylelint to v16.17.0 (#88)
renovate[bot] Mar 26, 2025
c254c8d
chore(deps): update dependency stylelint to v16.18.0 (#89)
renovate[bot] Apr 6, 2025
43f3326
chore(deps): update dependency stylelint-config-standard to v38 (#90)
renovate[bot] Apr 7, 2025
74f8d0a
feat: fetchPlaceholders project version (#92)
kptdobe Apr 17, 2025
b86536c
chore: remove legacy cross-origin script include
davidnuescheler Apr 17, 2025
6deb314
Merge pull request #93 from adobe/404-creds
davidnuescheler Apr 17, 2025
d545c26
chore(deps): update dependency stylelint to v16.19.0 (#94)
renovate[bot] Apr 23, 2025
f0fc8cb
chore: reset modal back to default position (fixed)
davidnuescheler Apr 24, 2025
aab46ff
Merge pull request #95 from adobe/modal-fixed
davidnuescheler Apr 24, 2025
d4205a0
chore(deps): update dependency stylelint to v16.19.1 (#96)
renovate[bot] Apr 25, 2025
04d889e
chore(deps): update dependency @babel/eslint-parser to v7.27.1 (#97)
renovate[bot] Apr 30, 2025
5cd49e7
chore(deps): update dependency stylelint to v16.20.0 (#99)
renovate[bot] May 29, 2025
66857da
chore(deps): update dependency @babel/eslint-parser to v7.27.5 (#100)
renovate[bot] Jun 3, 2025
2ad0813
chore(deps): update dependency stylelint to v16.21.0 (#101)
renovate[bot] Jun 19, 2025
ce1704a
chore(deps): update dependency eslint-plugin-import to v2.32.0 (#102)
renovate[bot] Jun 21, 2025
21156ca
chore(deps): update dependency @babel/eslint-parser to v7.28.0 (#103)
renovate[bot] Jul 3, 2025
198322b
chore(deps): update dependency stylelint to v16.21.1 (#104)
renovate[bot] Jul 3, 2025
24cdb8b
chore(deps): update dependency stylelint to v16.22.0 (#105)
renovate[bot] Jul 19, 2025
974186a
chore(deps): update dependency stylelint to v16.23.0 (#106)
renovate[bot] Aug 4, 2025
470423e
chore(deps): update dependency stylelint to v16.23.1 (#108)
renovate[bot] Aug 7, 2025
3dd49e1
chore(deps): update dependency node to v22 (#109)
renovate[bot] Aug 12, 2025
4ee10fd
chore(deps): update actions/checkout action to v5 (#110)
renovate[bot] Aug 12, 2025
422b39e
chore(deps): update dependency stylelint-config-standard to v39 (#107)
renovate[bot] Aug 12, 2025
66cbebc
chore(deps): update dependency @babel/eslint-parser to v7.28.4 (#112)
renovate[bot] Sep 5, 2025
7cdb18d
chore(deps): update dependency stylelint to v16.24.0 (#113)
renovate[bot] Sep 7, 2025
89801ab
chore(deps): update dependency stylelint to v16.25.0 (#114)
renovate[bot] Oct 3, 2025
4a02e35
chore(deps): update dependency stylelint-config-standard to v39.0.1 (…
renovate[bot] Oct 6, 2025
b2169de
chore(deps): update dependency @babel/eslint-parser to v7.28.5 (#117)
renovate[bot] Oct 23, 2025
4043550
chore: keep breadcrumb visible on mobile for perceived a11y reasons
davidnuescheler Oct 24, 2025
5f8fb7a
chore: add aria label example for a11y
davidnuescheler Oct 24, 2025
cff2163
chore: lint
davidnuescheler Oct 24, 2025
5ff80d8
fix: a11y covered elements & hiding library metadata
davidnuescheler Nov 5, 2025
29ec035
Merge pull request #120 from adobe/a11y-covered-libmeta
davidnuescheler Nov 7, 2025
e29b657
fix: color contrast on carousel dot indicator buttons
fkakatie Nov 13, 2025
54521aa
fix: announce search result status
fkakatie Nov 13, 2025
f7892f5
fix: set current on active carousel slide
fkakatie Nov 13, 2025
33da41c
chore: a11y focus contrast
davidnuescheler Nov 14, 2025
93263c7
refactor: a11y form refactor
fkakatie Nov 14, 2025
16b2fde
Merge branch 'main' into form-refactor
fkakatie Nov 14, 2025
f139830
chore: a11y nav role=button
davidnuescheler Nov 14, 2025
0c645bf
Merge pull request #123 from adobe/a11y-header
davidnuescheler Nov 14, 2025
a194f09
fix: non-lazy library metadata
fkakatie Nov 14, 2025
9c27e06
Merge branch 'main' of https://github.com/adobe/aem-block-collection
fkakatie Nov 14, 2025
8fb5acb
Merge branch 'main' into form-refactor
fkakatie Nov 14, 2025
e62fd4c
Merge pull request #122 from adobe/form-refactor
fkakatie Nov 14, 2025
d810c53
fix: contrast between play button focus
fkakatie Nov 14, 2025
64662f7
fix: video control name
fkakatie Nov 14, 2025
b57c3c5
fix: tab contrast
fkakatie Nov 14, 2025
d4b15dd
fix: error focus visible
fkakatie Nov 14, 2025
5fdc95b
fix: focus obscured
fkakatie Nov 14, 2025
f722e3b
chore: sync aria label and title
davidnuescheler Nov 20, 2025
2a3338d
fix: outline around focused buttons
fkakatie Nov 20, 2025
30ddf50
Merge branch 'main' of https://github.com/adobe/aem-block-collection
fkakatie Nov 20, 2025
3d2fbe6
chore(deps): update dependency stylelint to v16.26.0 (#125)
renovate[bot] Nov 21, 2025
e2dc9f5
chore(deps): update dependency stylelint to v16.26.1 (#126)
renovate[bot] Nov 28, 2025
e903622
fix: wrap nav-drop labels in buttons
fkakatie Dec 12, 2025
62885bd
fix: wrap nav-drop labels in buttons
fkakatie Dec 12, 2025
aa2fbdd
Merge pull request #127 from adobe/header-nav-drops
fkakatie Dec 12, 2025
6dae8e6
chore(deps): update dependency @babel/eslint-parser to v7.28.6 (#128)
renovate[bot] Jan 12, 2026
6dce895
chore(deps): update actions/setup-node action to v6 (#116)
renovate[bot] Jan 15, 2026
dd126d7
chore(deps): update dependency node to v24 (#118)
renovate[bot] Jan 15, 2026
c497819
fix: prevent protocol-relative URLs in fragment loader (#132)
Feb 3, 2026
1fe8549
Merge pull request #133 from lkrapf/fix/xss-protocol-relative-url
rofe Feb 3, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .github/pull_request_template.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,5 @@ Please always provide the [GitHub issue(s)](../issues) your PR is for, as well a
Fix #<gh-issue-id>

Test URLs:
- Before: https://main--aem-block-collection--adobe.hlx.page
- After: https://<branch>--aem-block-collection--adobe.hlx.page
- Before: https://main--{repo}--{owner}.aem.live/
- After: https://<branch>--{repo}--{owner}.aem.live/
49 changes: 49 additions & 0 deletions .github/workflows/cleanup-on-create.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,49 @@
# This workflow will run upon repository creation and clean up
# all files that are not strictly required to build an AEM Live project
# but that we use to develop the project template. This includes this
# particular workflow file.
on:
create:
branches:
- main
workflow_dispatch:
jobs:
cleanup:
runs-on: ubuntu-latest
permissions:
contents: write
actions: write
# only run if commit message is "Initial commit" on main branch
if: ${{ github.event_name == 'workflow_dispatch' || ( github.ref == 'refs/heads/main' && !(contains(github.event, 'head_commit') || github.event.head_commit.message == 'Initial commit' )) }}
steps:
- name: Checkout
uses: actions/checkout@v5
- name: Use Node.js 20
uses: actions/setup-node@v6
with:
node-version: 24
- name: Remove Helper Files
run: |
rm -rf \
.github/workflows/cleanup-on-create.yaml \
CHANGELOG.md

- name: Initialize README
# replace {repo} and {owner} with the actual values
run: |
sed -i.bak "s/{repo}/$(basename ${{ github.repository }})/g" README.md
sed -i.bak "s/{owner}/$(dirname ${{ github.repository }})/g" README.md
- name: Initialize Pull Request Template
run: |
sed -i.bak "s/{repo}/$(basename ${{ github.repository }})/g" .github/pull_request_template.md
sed -i.bak "s/{owner}/$(dirname ${{ github.repository }})/g" .github/pull_request_template.md


# commit back to the repository
- name: Commit changes
run: |
git config --local user.email "helix@adobe.com"
git config --local user.name "AEM Bot"
git add .
git commit -m "chore: cleanup repository template"
git push
6 changes: 3 additions & 3 deletions .github/workflows/main.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,10 @@ jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v5
- name: Use Node.js 20
uses: actions/setup-node@v4
uses: actions/setup-node@v6
with:
node-version: 20
node-version: 24
- run: npm ci
- run: npm run lint
7 changes: 6 additions & 1 deletion .renovaterc.json
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
{
"extends": ["config:recommended"]
"extends": ["config:recommended"],
"packageRules": [{
"matchDepTypes": ["devDependencies"],
"labels": ["ignore-psi-check"],
"automerge": true
}]
}
2 changes: 1 addition & 1 deletion 404.html
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
</script>
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta property="og:title" content="Page not found">
<script src="/scripts/scripts.js" type="module" crossorigin="use-credentials"></script>
<script src="/scripts/scripts.js" type="module"></script>
<script type="module">
window.addEventListener('load', () => {
if (document.referrer) {
Expand Down
20 changes: 14 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,10 +1,18 @@
# Block Collection

This project contains code that is featured in the [AEM Block Collection](https://www.aem.live/developer/block-collection#block-collection-1) documentation.
# Your Project's Title...
Your project's description...

## Environments
- Preview: https://main--aem-block-collection--adobe.hlx.page/
- Live: https://main--aem-block-collection--adobe.hlx.live/
- Preview: https://main--{repo}--{owner}.aem.page/
- Live: https://main--{repo}--{owner}.aem.live/

## Documentation

Before using the aem-block-collection, we recommand you to go through the documentation on https://www.aem.live/docs/ and more specifically:
1. [Developer Tutorial](https://www.aem.live/developer/tutorial)
2. [The Anatomy of a Project](https://www.aem.live/developer/anatomy-of-a-project)
3. [Web Performance](https://www.aem.live/developer/keeping-it-100)
4. [Markup, Sections, Blocks, and Auto Blocking](https://www.aem.live/developer/markup-sections-blocks)
5. [AEM Block Collection](https://www.aem.live/developer/block-collection#block-collection-1)

## Installation

Expand All @@ -24,4 +32,4 @@ npm run lint
1. Add the [AEM Code Sync GitHub App](https://github.com/apps/aem-code-sync) to the repository
1. Install the [AEM CLI](https://github.com/adobe/helix-cli): `npm install -g @adobe/aem-cli`
1. Start AEM Proxy: `aem up` (opens your browser at `http://localhost:3000`)
1. Open the `{repo}` directory in your favorite IDE and start coding :)
1. Open the `{repo}` directory in your favorite IDE and start coding :)
2 changes: 1 addition & 1 deletion blocks/cards/cards.css
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
padding: 0;
display: grid;
grid-template-columns: repeat(auto-fill, minmax(257px, 1fr));
grid-gap: 24px;
gap: 24px;
}

.cards > ul > li {
Expand Down
8 changes: 4 additions & 4 deletions blocks/carousel/carousel.css
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@
margin: 68px;
padding: 16px;
color: white;
background-color: rgba(19 19 19 / 75%);
background-color: rgb(19 19 19 / 75%);
position: relative;
width: var(--slide-content-width, auto);
}
Expand All @@ -77,7 +77,7 @@
margin: 0;
padding: 0;
border-radius: 50%;
background-color: #dadada;
background-color: #8F8F8F;
transition: background-color 0.2s;
}

Expand Down Expand Up @@ -107,13 +107,13 @@
margin: 0;
border-radius: 50%;
padding: 0;
background-color: rgba(19 19 19 / 25%);
background-color: rgb(19 19 19 / 25%);
transition: background-color 0.2s;
}

.carousel .carousel-navigation-buttons button:hover,
.carousel .carousel-navigation-buttons button:focus-visible {
background-color: rgba(19 19 19 / 75%);
background-color: rgb(19 19 19 / 75%);
}

.carousel .carousel-navigation-buttons button::after {
Expand Down
9 changes: 6 additions & 3 deletions blocks/carousel/carousel.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { fetchPlaceholders } from '../../scripts/aem.js';
import { fetchPlaceholders } from '../../scripts/placeholders.js';

function updateActiveSlide(slide) {
const block = slide.closest('.carousel');
Expand All @@ -20,10 +20,13 @@ function updateActiveSlide(slide) {

const indicators = block.querySelectorAll('.carousel-slide-indicator');
indicators.forEach((indicator, idx) => {
const button = indicator.querySelector('button');
if (idx !== slideIndex) {
indicator.querySelector('button').removeAttribute('disabled');
button.removeAttribute('disabled');
button.removeAttribute('aria-current');
} else {
indicator.querySelector('button').setAttribute('disabled', 'true');
button.setAttribute('disabled', true);
button.setAttribute('aria-current', true);
}
});
}
Expand Down
Loading