diff --git a/src/main.rs b/src/main.rs
@@ -1,6 +1,5 @@
use crossterm::style::Stylize;
-use image::io::Reader as ImageReader;
-use image::DynamicImage;
+use image::{DynamicImage, io::Reader as ImageReader};
use std::{
env,
fmt::{self, Display},
@@ -322,7 +321,8 @@ fn render_pic_page(pic: &Picture) -> io::Result<()> {
write_nav(&mut f)?;
writeln!(f, "<main>")?;
- writeln!(f, "<figure>")?;
+ writeln!(f, "<figure aria-label=\"{name}\">",
+ name = Escaped(&pic.file_name))?;
writeln!(f, "<div id=\"picture-container\">")?;
writeln!(
f,