To provide an example, you could say somebody from Alabama has a “Southern Accent,” meaning that they pronounce words differently than somebody from the Northern US. However, “accent” would not refer to a Southerner’s use of the word “y’all.” That would fall under the category of Southern dialects.